Scaffold a CLI project with interactive-commander and TypeScript
npm install create-interactive-commanderScaffold a CLI project with [interactive-commander][1] and TypeScript
Run the following command and follow the prompts:
``bash`
npm create interactive-commander@latest
You can also directly specify the template variables via command line arguments.
For example to create a project in the my-project directory with the packagenode-my-command
name set to and the command name set to my-command, run:
`bash`
npm create interactive-commander@latest -- --directory-name my-project --package-name node-my-command --command-name my-command
For more information, run:
`bash``
npm create interactive-commander@latest -- generate --help
[1]: https://github.com/fardjad/node-interactive-commander