Commands
Vyft CLI reference.
vyft init [name]
Section titled “vyft init [name]”Scaffold a new Vyft project. Prompts for project name, template, and options.
vyft deploy
Section titled “vyft deploy”Deploy all resources defined in vyft.config.ts.
vyft deploy [--stage <name>] [--project <name>]| Flag | Description |
|---|---|
--stage | Deployment stage (default: production) |
--project | Project name |
vyft destroy
Section titled “vyft destroy”Tear down all deployed resources.
vyft destroy [--stage <name>] [--project <name>] [-y]| Flag | Description |
|---|---|
-y, --yes | Skip confirmation prompt |
vyft preview
Section titled “vyft preview”Preview planned changes without deploying.
vyft preview [--stage <name>] [--project <name>]Output format:
+ urn:vyft:resource:runtime:service:app (create)~ urn:vyft:resource:runtime:service:api (update)- urn:vyft:resource:runtime:volume:data (delete)vyft refresh
Section titled “vyft refresh”Sync local state with the actual runtime state by calling resource read handlers.
vyft refresh [--stage <name>] [--project <name>]vyft context
Section titled “vyft context”Manage deployment contexts.
vyft context list # List all contextsvyft context add <name> # Add a new contextvyft context use <name> # Switch active contextvyft context remove <name> # Remove a context