Current CLI
The binary is cargo-minco; Cargo exposes it as cargo minco. Global options are --root PATH and --json.
Command Groups
| Area | Commands |
|---|---|
| Project | new, doctor, check, architecture |
| Local development | dev |
| Contract | contract check, sync, diff |
| Generation | make, stubs |
| Inspection | inspect, explain, config, cost, perf |
| Coding agents | agent plan, sync, doctor, context, eval |
| Data | db plan, status, verify, migrate, seed |
| Plugins | plugin list, enable, disable, new, validate, test |
| Deployment | deploy, package, release, promote |
| Compatibility | update, upgrade |
| Work | roadmap, task, vcs |
| Feedback | feedback |
Machine-Readable Interfaces
Prefer JSON for tooling and AI agents:
cargo minco inspect --json
cargo minco explain placeOrder --json
cargo minco config schema --json
cargo minco task show M11-T07 --json
cargo minco deploy plan --stdout --json
cargo minco plugin test --all --json
cargo minco agent context --operation placeOrder --json
cargo minco agent eval --target all --jsonOutput is deterministic and bounded. Secret values, secret-reference names, provider credentials, service values, and customer data do not belong in these documents.
Coding Agent Projections
cargo minco agent plan --target codex|claude|all --json
cargo minco agent sync --target codex|claude|all \
--expect-plan-digest <sha256> --json
cargo minco agent doctor --target codex|claude|all --json
cargo minco agent context [--operation ID | --task ID] --json
cargo minco agent eval --target codex|claude|all --jsonPlan is read-only; sync requires the exact current plan digest and writes only fixed, manifest-owned project paths. Doctor and eval are read-only. Context reuses the bounded ProjectView, rejects path-like selectors, caps output at 64 KiB, and performs no commands, network requests, writes, provider calls, or database queries. Eval checks installed bytes, cross-client parity, and scenario contracts without invoking a model.
See Develop with Codex and Claude Code for projection ownership, existing-file preservation, workflow selection, and authority boundaries.
Read-Only and Dry-Run Commands
Inspection, contract checks, source-only database planning, and deployment planning do not contact a provider. Resource and operation generators expose a plan first:
cargo minco make resource order --dry-run --jsonplugin new writes a local plugin skeleton immediately; preview and dry-run support for plugin mutations is planned work. plugin list, validate, and test --all inspect local packages and never download or execute unknown code. The broader add, init, explain, doctor, and safe remove workflows also remain planned and are not documented as implemented.
Guarded Mutations
Database migration, seed application, CloudFormation apply, and promotion require exact environment, identity, digest, and receipt inputs. Their help text is the authority for the current source checkout:
cargo minco db migrate --help
cargo minco deploy apply --help
cargo minco promote --helpShell history is not a safe place for credentials or password-bearing database URLs. Target commands accept the name of an environment variable that contains the direct URL.
Task and JJ Workflow
cargo minco task ready --json
./scripts/jj/task-start.sh M11-T07
cargo minco task verify M11-T07 --json
./scripts/jj/task-finish.sh M11-T07 "docs(site): deepen current documentation" --pushOne workspace owns one task. A planned task is not ready merely because a dependency merged.
For exhaustive option-level detail, run cargo minco COMMAND --help against the exact source or release you are using.