Kinotic Apps
CLI Reference
Command reference for the Kinotic CLI.
Installation
bun install -g @kinotic-ai/kinotic-cli
Commands
kinotic init / kinotic initialize
Initialize a new Kinotic project. Creates the configuration file and directory structure for entity definitions and generated repositories.
kinotic init --application my.app --entities src/model --repository src/repository
Flags:
| Flag | Description |
|---|---|
-a, --application | The application name |
-e, --entities | Path to entity definitions directory |
-r, --repository | Path for generated repository classes |
-m, --mirror | Mirror the entity folder structure under the repository path (default: true) |
kinotic generate / kinotic gen
Generate Repository classes from synced entity definitions. This reads the entity definitions that have been synchronized with the server and produces TypeScript repository classes you can import and use.
kinotic generate
kinotic gen -v
Flags:
| Flag | Description |
|---|---|
-v, --verbose | Enable verbose logging |
kinotic sync / kinotic synchronize
Synchronize local entity definitions with the Kinotic server. This uploads your entity classes so the server can set up the backing data stores and register the entity services.
kinotic sync -p --server http://localhost:9090
kinotic sync -p -v -s http://localhost:9090
Flags:
| Flag | Description |
|---|---|
-s, --server | The Kinotic server URL |
-p, --publish | Publish each entity after save/update |
-v, --verbose | Enable verbose logging |
-f, --authHeaderFile | JSON file containing authentication headers |
--dryRun | Preview changes without saving |
kinotic update
Update the Kinotic CLI to the latest version.
kinotic update
kinotic update --version 1.0.3
Run kinotic --help or kinotic <command> --help for the full list of commands and options.