CLI Reference
Complete reference for the Lizard CLI.
Global Flags
| Flag | Description |
|---|---|
--help | Show help for a command |
--version | Show CLI version |
--verbose | Enable verbose output |
--json | Output in JSON format |
--project | Specify project (overrides auto-detection) |
Commands
lizard init
Create a new Lizard project.
lizard init [project-name] [options]| Option | Default | Description |
|---|---|---|
--template | default | Project template |
--runtime | node20 | Runtime to use |
--region | us-east-1 | Default region |
lizard dev
Start the local development server.
lizard dev [options]| Option | Default | Description |
|---|---|---|
--port | 3000 | Port to listen on |
--host | localhost | Host to bind to |
lizard deploy
Deploy the current project.
lizard deploy [options]| Option | Default | Description |
|---|---|---|
--prod | false | Deploy to production |
--preview | false | Create preview deployment |
--skip-build | false | Skip build step |
--message | — | Deployment message |
lizard env
Manage environment variables.
lizard env set KEY=VALUE [--env environment]
lizard env list [--env environment]
lizard env rm KEY [--env environment]lizard logs
Stream deployment logs.
lizard logs [options]| Option | Default | Description |
|---|---|---|
--level | all | Filter by log level |
--search | — | Search string |
--follow | true | Follow log output |
--since | 1h | Time range |
lizard rollback
Roll back to a previous deployment.
lizard rollback [--to deployment-id]lizard domains
Manage custom domains.
lizard domains add <domain>
lizard domains rm <domain>
lizard domains list
lizard domains verify <domain>