CLI
The command line interface is intended to help automate actions that would be repetitive through the web administration console. Requires node and npm.
Installation
- Install Node 8 or later, see instructions.
- Install using npm:
npm i weave-cli -g
Updating
Use npm: npm update weave-cli -g
Usage
- Initialize your configuration by running weave-cli login and follow prompts
- To see available commands run weave-cli -h
Spec files
Some of the commands take input files that define the updates. These files are formatted as JSON.
The example spec file:
[
{
"name": "Total Quality Recovery",
"handle": "tqr",
"color": "green",
"icon": "plug",
"displayFormat": "TQR: {tqr}",
"displayExpression": null,
"hasBody": "none",
"file": "./trackers/tracker1.json"
}
]