Example project CLI application
- Node.js >= 13.x
- Yarn >= 1.22.x
npm i
Run in development mode (help)
yarn run dev --help
Run create command
yarn run dev create --name awesome-application
Run update command
yarn run dev update
Build application
npm run build
npm pack
npm i -g apitree-apitree-cli-example-0.1.0-alpha.1.tgz
You must own NPM repository (logged in NPM or with .npmrc file)
npm publish
After publish (localhost or remote)
at-example create --name awesome-app
or with aliasses
at-example c -n awesome-app