oclip-example

0.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i oclip-example

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

2.31 kB

Total Files

4

Last publish

Collaborators

  • dickeyxxx