JSON Output
Human-readable output is the default. Use--json for scripting:
- direct API wrapper commands emit the API response body
- convenience flows like
uploademit CLI-specific JSON - when local file uploads happen before submission,
posts createemits CLI-specific JSON
Exit Codes
0: success1: local CLI, config, or input failure2: remote API or upload failure
Shell Automation Example
GitHub Actions Example
AI Agent Notes
If you are using the CLI in an automated agent workflow:- prefer
--json - prefer
mallary posts create --file payload.jsonfor complex payloads

