#!/usr/bin/env node import { Command } from 'commander'; const program = new Command(); program .argument('', 'Path of example') .name('Example CLI') .description('This is an example') .action(async (path: string) => { console.log(JSON.stringify(path)); }); if (process.argv) { program.parse(process.argv); }