CLI
The Aura CLI is the command-line interface for working with AuraBoot projects. It is useful for local development, plugin validation, plugin publishing, runtime checks, and automation scripts.
Common commands
aura login
aura status
aura plugin validate plugins/my-plugin
aura plugin publish plugins/my-plugin --yes
aura query <modelCode>
aura exec <commandCode>Authentication
For interactive use:
aura loginFor scripts and CI, use a token:
export AURA_TOKEN="<jwt>"
aura statusCommon environment variables:
| Variable | Purpose |
|---|---|
AURA_API_URL | Backend base URL |
AURA_TOKEN | JWT token for non-interactive auth |
AURA_USER | Username for non-interactive login |
AURA_PASSWORD | Password for non-interactive login |
AURA_DEBUG | Print debug information |
Health check
aura statusUse this before plugin import or test automation. It should confirm the backend is reachable and the token is valid.
Plugin workflow
aura plugin validate plugins/project-tracker
aura plugin publish plugins/project-tracker --yesValidation should run before publish. It catches resource reference problems earlier than manual UI testing.
Query and command execution
Use query commands to inspect data:
aura query crm_lead --limit 10Use command execution to test backend behavior without clicking through the UI. Command codes are namespace:verb_noun, and field values are passed with repeatable --set flags (key=value, or key:type=value for int / float / bool / json / null):
aura exec crm:create_lead --set lead_name="Acme" --set source="website"Agent-friendly output
For automation and AI-agent workflows, prefer JSON output. The global --format json flag (or --agent-mode for compact agent-optimized output) is easier to parse and less brittle than the default table output.
aura status --format json
aura query crm_lead --format jsonMCP server
AuraBoot can expose runtime tools to MCP-compatible clients:
aura mcp serveUse this only with a properly authenticated environment. Tool calls should remain tenant-scoped and auditable.
Troubleshooting
| Symptom | Check |
|---|---|
401 Unauthorized | Token expired or wrong tenant selected |
Connection refused | Backend URL or service status |
| Plugin validates locally but fails import | Runtime schema or reference mismatch |
| Menu missing after publish | Permission or role bootstrap assignment |
| Different output in CI | Environment variables and working directory |