CLI
The ObjectStack Command Line Interface
ObjectStack CLI
Scriptable. Composable. UNIX-ready.
For the DevOp engineers and the terminal power users, the object CLI provides full control over the stack without touching a GUI.
Philosophy
- ANSI Output: Beautiful, colored output for humans.
- JSON Output: Machine-readable output for scripts (
--json). - Idempotent: Running a command twice should not break things.
Key Commands
object init
Scaffolds a new project based on a template.
object init my-project --template=saas-starter
object dev
Starts the local development application.
- Hot-reloads schemas.
- Watches for file changes.
- Serves the Studio at
localhost:3001.
object dev
object schema push
Compiles your YAML schema into the target database DDL (SQL) and applies it.
object schema push --env=production --dry-run
object export
Exports your entire application (data + logic) into a portable bundle.
object export --format=docker
This generates a Dockerfile that packages your Engine, Platform, and UI into a single immutable image, ready for Kubernetes.