Skip to content

lenneTech/cli-starter

Repository files navigation

CLI Starter

A CLI Starter for your next Gluegun CLI project.

Gluegun Menu Demo

License CircleCI Dependency Status devDependency Status

Initialize CLI

Via lenne.Tech CLI:

$ npm install -g @lenne.tech/cli
$ lt cli create <CLI_NAME>

Via GitHub:

$ git clone https://github.com/lenneTech/cli-starter.git <CLI_NAME>
$ cd <CLI_NAME>
$ npm i
$ npm run rename <CLI_NAME>

Via ZIP:

  1. Download Starter: https://github.com/lenneTech/cli-starter/archive/master.zip
  2. Unpack ZIP
  3. Run npm i && npm run rename <CLI_NAME> in project directory

Customizing your CLI

Check out the documentation at https://github.com/infinitered/gluegun/tree/master/docs.

Publishing to NPM

To package your CLI up for NPM, do this:

$ npm login
$ npm whoami
$ npm lint
$ npm test
(if typescript, run `npm run build` here)
$ npm publish
(if you are publish a public package for the first time: npm publish --access public)

License

MIT - see LICENSE

About

A starter project for CLI with @lenne.tech/cli-plugin-helper and @lenne.tech/npm-package-helper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •