Command line interface to interact with Stack9 local developments and deployments.
# 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]
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
$ 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)
$ yarn build
- 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, runsudo chown {yourusername} -R ./
) - run
npm publish