1.0.3 • Published 2 years ago
banda-cli v1.0.3
banda-cli
A CLI to help with all your Banda needs.
Install
$ npm install -g banda-cliUsage
$ banda deployThe 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
Version Files
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=#.#.# |
Development
To install locally, clone the repo. Then,
npm install
npm run build
npm linkAfterwards, you can run banda [command] in any directory.
Tests
Unit tests are included. To run them, run:
npm testPossible Updates
- 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