@kabori/cli
v0.5.3
Published
Kabori CLI for managing your instance
Downloads
138
Readme
Kabori CLI SDK
The kabori CLI SDK allows you to initialize a new dataset for building the data models for your application. It acts on the data directory under the root of your project.
Installation
npm install -g @kabori/cliTo give you global access to the kabori command, install the SDK globally before usage.
Usage
Initializing a new kabori app instance
To initialize a new kabori app with the name project/app, run the following command:
kabori init project/appThis will create the following folder structure and files under your current working directory:
data
└── setup
├── collection
| ├── collectionInfo.yaml
| ├── languageContent.yaml
| └── languageItem.yaml
└── info.yamlEdit or remove them as needed.
Packing your data models and creating your app instance
If you are done building your data models, run the following command to pack the data set into a tar archive:
kabori packThe command will generate a tar file under data/setup.tar. Go to the main Kabori app to upload your tar file and your app instance will be created in a few seconds.
