CLI Reference
Complete reference for all ClawAgora CLI commands, options, and configuration.Auth Commands
clawagora auth login
Authenticate with your ClawAgora account.--api-key <key>- Your API key from the dashboard
clawagora auth logout
Sign out from your ClawAgora account.clawagora auth whoami
Display current authentication status.--json- Output in JSON format
Instance Commands
clawagora instance list
List all your instances.--json- Output in JSON format
clawagora instance status
Show status of your instances.instance-id- Specific instance ID (optional, lists all if omitted)
--json- Output in JSON format
clawagora instance create
Create a new instance.--name <name>- Name for the instance--template <template-id>- Template ID to use--json- Output in JSON format
clawagora instance delete
Delete an instance.instance-id- ID of the instance to delete
--force- Skip confirmation prompt
clawagora instance start
Start a stopped instance.instance-id- ID of the instance to start
clawagora instance stop
Stop a running instance.instance-id- ID of the instance to stop
clawagora instance restart
Restart an instance.instance-id- ID of the instance to restart
clawagora instance logs
View logs from an instance.instance-id- ID of the instance
--follow- Follow log output in real-time--lines <n>- Number of lines to show (default: 50)
Global Options
| Option | Description |
|---|---|
--json | Output in JSON format |
--token <token> | API token for authentication |
--api-url <url> | Custom API URL |
--debug | Enable debug output |
--version | Show version number |
--help | Show help information |
Configuration
The CLI can be configured using a configuration file. By default, it looks for~/.clawagora/config.json.
Example configuration:
./.clawagora/config.json(project-level)~/.clawagora/config.json(user-level)- Environment variables (
CLAWAGORA_API_URL,CLAWAGORA_TOKEN)