0.0.2 • Published 4 years ago

oclip-example v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

oclip-example

This is a basic sample CLI built with oclip. This is a template repository so click "Use this template" above to start a new CLI with this as a base.

Development

To run the CLI in development, run npx ts-node src/cli COMMAND.

Release/Production

TypeScript will automatically build js output files and place them in ./lib. This is the directory used when releasing a CLI.

Ensure that the CLI builds correctly by packing locally first:

$ npm pack
$ tar -xvzf oclif-example-*.tgx
$ ./package/bin/run serve

The ./bin/run script will be automatically symlinked when users install your CLI.

To cut a release to npm just use npm publish.