Loading...
Loading...
Designs or reviews CLIs so coding agents can run them reliably: non-interactive flags, layered --help with examples, stdin/pipelines, fast actionable errors, idempotency, dry-run, and predictable structure. Use when building a CLI, adding commands, writing --help, or when the user mentions agents, terminals, or automation-friendly CLIs.
npx skill4agent add cursor/plugins cli-for-agentsmycli deploy? Which environment? (use arrow keys)mycli deploy --env stagingmyclimycli deploy --help--help--help--helpOptions:
--env Target environment (staging, production)
--tag Image tag (default: latest)
--force Skip confirmation
Examples:
mycli deploy --env staging
mycli deploy --env production --tag v1.2.3
mycli deploy --env staging --forcecat config.json | mycli config import --stdinmycli deploy --env staging --tag $(mycli build --output tag-only)Error: No image tag specified.
mycli deploy --env staging --tag <image-tag>
Available tags: mycli build list --output tags--dry-run--yes--forceresourceverbmycli service listmycli deploy listmycli config listdeployed v1.2.3 to staging
url: https://staging.myapp.com
deploy_id: dep_abc123
duration: 34s--help