node module for integration with Omnis Platform omnis-cli npm omnis npm
For inststll omnis-cli use one of command
yarn global add omnis-cli
or
npm install omnis-cli --global
- Install
omnis-clivianpm install omnis-cli --global - Change current directory to project directory
- Run
omnis-cli initin project directory
omnis-cli init
Init option used for initializing dependencies inside project directory and generating empty omnis.json file. Before running this command make sure that you package.json file and node_modules folder are in the same directory.
omnis-cli status
The Status option used for checking the current status of the application and return true or false
omnis-cli activate
The active option used for changing application activation status to true, that allow to getting a data from it.
omnis-cli deactivate
The Deactivate option used for changing application activation status to false, that disallow to getting a data from it.