typescript-npm-cli-template
v1.0.4
Published
A template for creating npm CLI tools using TypeScript and VSCode
Downloads
10
Maintainers
Readme
typescript-npm-cli-template
Boilerplate to kickstart creating a Node.js command-line tool
Inspired by node-cli-boilerplate
Getting started
Click the "Use this template" button.
Alternatively, create a new directory and then run:
curl -fsSL https://github.com/ryansonshine/typescript-npm-cli-template/archive/main.tar.gz | tar -xz --strip-components=1
Remove everything from here and above
my-cli-name
My awesome command-line tool
Install
npm install my-cli-name
Usage
Usage: my-command [options]
Options:
-V, --version output the version number
-d, --debug enables verbose logging (default: false)
-v, --verbose enables verbose logging (default: false)
Examples:
$ my-command --version
1.0.0