bunsen-tools
Installation
Note: In order to use bunsen-tools you will need to have Node 5.x installed, with NPM 3.x.
Once you have Node installed you can run the following command to install bunsen-tools:
npm install -g bunsen-tools
Usage
Below is a list of the possible commands you can use with the bunsen-tools CLI.
This usage information can also be obtained by running the following command:
bunsen --help
or by running the shorthand:
bunsen -h
Note: Both view and model files provided to the following commands must be in JSON format.
convert
To convert old view formats to the latest view schema (UI Schema 2), simply run the following command:
bunsen convert <legacyViewFile>
You may also use the shorthand command:
bunsen c <legacyViewFile>
validate
In order to validate a Bunsen model or view simply run the following command:
bunsen validate <modelOrViewFile>
You may also use the shorthand command:
bunsen v <modelOrViewFile>
You can also validate a view against a model by running:
bunsen validate <viewFile> <modelFile>
version
To get the current version of bunsen-tools simply run:
bunsen --version
or the shorthand:
bunsen -V