Skip to main content

Using the CLI

CloudBase CLI manages data models through the tcb db model commands.

Commands​

CommandPurposeDocs
tcb db model listList cloud data modelsList data models
tcb db model pullPull models from the cloudPull data models
tcb db model pushPush local models to the cloudPush data models
tcb db model list -e your-env-id
tcb db model pull -e your-env-id
tcb db model push -e your-env-id

Without a local installation, run npx --package=@cloudbase/cli tcb db model list.

Top-level commands are deprecated

tcb db list, tcb db pull, and tcb db push remain backward compatible; use the tcb db model subcommands instead.

More information​