A CLI to help with all your Banda needs.
$ npm install -g banda-cli
$ banda deploy
The CLI comes with a command to help with deployments. It's meant to be used to aid in creating a release. It does the following things:
- Creates a release branch
- Updates the version number, if specified
- Merges the branch
- Creates a tag
- Merges the updates back to a development branch
- Updates the new version number, if specified
The CLI automatically looks for versions in one of two files in the current working-directory (CWD):
- package.json
- VERSION.conf
The CLI can be modified to make these options configurable, but they're not now.
Formats for the versions must be in the following formats:
package.json | VERSION.conf |
---|---|
"version": "#.#.#" | VERSION=#.#.# |
To install locally, clone the repo. Then,
npm install
npm run build
npm link
Afterwards, you can run banda [command]
in any directory.
Unit tests are included. To run them, run:
npm test
- Update the CLI to take arguments for all the prompts
- Configure the CLI through a config file(s)
- Add other commands that the team needs