Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 844 Bytes

README.md

File metadata and controls

64 lines (48 loc) · 844 Bytes

apitree-cli-example

Example project CLI application

Requirements

  • Node.js >= 13.x
  • Yarn >= 1.22.x

Installation

npm i

Development

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

Build application

npm run build

Publish in localhost (after build)

npm pack
npm i -g apitree-apitree-cli-example-0.1.0-alpha.1.tgz

Publish to remote repository

You must own NPM repository (logged in NPM or with .npmrc file)

npm publish

Run application

After publish (localhost or remote)

at-example create --name awesome-app

or with aliasses

at-example c -n awesome-app