@april9/stack9-cli
TypeScript icon, indicating that this package has built-in type declarations

5.0.0-rc.6 • Public • Published

Stack9 CLI

Command line interface to interact with Stack9 local developments and deployments.

Getting started

# install Stack9 globally
$ npm i -g @april9/stack9-cli@latest

# view list of available commands
$ stack9 help

# view list of available subcommands
$ stack9 <command-name> help

# run commands
$ stack9 <command-name> [...params]

Troubleshooting

Installed globally but got 'command not found' on linux:

solution 1:

  • install the using administrative permissions sudo npm i @april9/stack9-cli -g

solution 2:

  • change permission of the global packages. see more

Contrib

Build, watch and run

$ yarn build:watch
$ node ./dist/index.js <command-name> [...params]

create .env file in the root folder if to override default environment variables (dev only)

Build

$ yarn build

Publish

  • you must be part of the @april9 organisation on npmjs.com
  • bump up the version in package.json
  • run yarn
  • run yarn prepare (if this command fails due to permission, run sudo chown {yourusername} -R ./ )
  • run npm publish

Readme

Keywords

Package Sidebar

Install

npm i @april9/stack9-cli

Weekly Downloads

21

Version

5.0.0-rc.6

License

BSD-3-Clause

Unpacked Size

60.3 kB

Total Files

57

Last publish

Collaborators

  • pedroleung
  • thiagopxp
  • a9-noguez