0.1.2 • Published 1 year ago

@kabori/cli v0.1.2

Weekly downloads
-
License
UNLICENSED
Repository
gitlab
Last release
1 year ago

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/cli

To 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/app

This will create the following folder structure and files under your current working directory:

data
└── setup
    ├── collection
    |      ├── collectionInfo.yaml
    |      ├── languageContent.yaml
    |      └── languageItem.yaml
    └── info.yaml

Edit 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 pack

The 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.

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago