OpenASE CLI Reference

April 15, 2026 ยท View on GitHub

OpenASE follows a GitHub-style dual-layer CLI contract: high-level resource commands for common operations, plus a raw API escape hatch for anything not yet surfaced.

Resource Commands

openase ticket list       --status-name Todo --json tickets
openase ticket create     --title "Fix login bug" --description "..."
openase ticket update     --status_name "In Review"
openase ticket comment    create --body "Blocking dependency found"
openase ticket detail     $PROJECT_ID $TICKET_ID

openase workflow create   $PROJECT_ID --name "Codex Worker"
openase scheduled-job trigger $JOB_ID
openase project update    --description "Latest context"

Raw API Escape Hatch

openase api GET  /api/v1/projects/$PID/tickets --query status_name=Todo
openase api PATCH /api/v1/tickets/$TID --field status_id=$SID

Live Streams

openase watch tickets $PROJECT_ID

Output Formatting

--jq '<expr>'              # JQ filter
--json field1,field2       # Select fields
--template '{{...}}'       # Go template

Both --kebab-case and --snake_case flag spellings are accepted.

Agent Platform Environment

Agent workers inherit these environment variables from the workspace wrapper:

VariablePurpose
OPENASE_API_URLPlatform API endpoint
OPENASE_AGENT_TOKENAgent authentication token
OPENASE_PROJECT_IDCurrent project context
OPENASE_TICKET_IDCurrent ticket context