Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fardjad/node-create-interactive-commander
Scaffold a CLI project with interactive-commander and TypeScript
https://github.com/fardjad/node-create-interactive-commander
command-line-tool commander commanderjs generator inquirer nodejs npm-init scaffold
Last synced: 3 months ago
JSON representation
Scaffold a CLI project with interactive-commander and TypeScript
- Host: GitHub
- URL: https://github.com/fardjad/node-create-interactive-commander
- Owner: fardjad
- License: mit
- Created: 2023-09-18T07:50:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-30T01:32:42.000Z (3 months ago)
- Last Synced: 2024-10-30T03:57:31.869Z (3 months ago)
- Topics: command-line-tool, commander, commanderjs, generator, inquirer, nodejs, npm-init, scaffold
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/create-interactive-commander
- Size: 697 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# create-interactive-commander
Scaffold a CLI project with [interactive-commander][1] and TypeScript
## Usage
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 package
name set to `node-my-command` 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