@zenstackhq/cli
v3.5.5
Published
FullStack database toolkit with built-in access control and automatic API generation.
Readme
@zenstackhq/cli
The command-line interface for ZenStack. Provides commands for initializing projects, generating TypeScript code from ZModel schemas, managing database migrations, and etc.
Key Commands
zenstack init— Initialize ZenStack in an existing projectzenstack generate— Compile ZModel schema to TypeScriptzenstack db push— Sync schema to the databasezenstack db pull— Pull database schema changes into ZModelzenstack migrate dev— Create and apply database migrationszenstack migrate deploy— Deploy migrations to productionzenstack format— Format ZModel schema fileszenstack proxy|studio— Start a database proxy server for using studio
Installation
npm install -D @zenstackhq/cli