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: 21 days ago
JSON representation

Scaffold a CLI project with interactive-commander and TypeScript

Lists

README

        

# create-interactive-commander

Scaffold a CLI project with [interactive-commander][1] and TypeScript

NPM Version Monthly Downloads test-and-release Workflow Status

## 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