Usage
Arguments
| Argument | Description |
|---|---|
[path] | Path to check (defaults to current directory) |
Options
| Option | Description |
|---|---|
--json | Output as JSON |
--verify | Run quick validation on the detected use case |
Output sections
Identity
Shows the current authenticated state:Use case context
If a use case folder is detected at the path:Profile match status
| Status | Meaning |
|---|---|
match | Active profile’s org matches project.json org — ready to deploy |
mismatch | Different org — shows suggested profile to switch to |
no-org-in-project | No organizationId in project.json |
no-profile | Not logged in |
Readiness
Shows whether the use case is ready to deploy:Warnings
- Profile mismatch: “Active profile ‘acme-corp’ does not match project org. Suggested: ‘staging’”
- Key expiry < 7 days: “API key expires in 3 days”
- Key expired: “API key has expired”
Examples
Exit codes
| Code | Meaning |
|---|---|
0 | Ready to deploy |
1 | Not ready (issues found) |