Global Flags
Flags available on every animus command.
--json
Enables machine-readable JSON output using the animus.cli.v1 envelope.
- Success responses are written to stdout.
- Error responses are written to stderr.
- The envelope schema is always
"animus.cli.v1".
animus subject list --kind task --json{
"schema": "animus.cli.v1",
"ok": true,
"data": [ ... ]
}Without --json, commands produce human-readable text. With --json, every command wraps its output in the envelope contract, making it safe to parse programmatically.
--project-root <PATH>
Override the project root directory. When omitted, Animus resolves the project root from the current git common root when available, and otherwise falls back to the current working directory.
animus subject list --kind task --project-root /path/to/my-projectThis flag is required when running Animus commands from outside a project directory, or when automating across multiple projects.
Common Cross-Command Flags
Many destructive commands expose command-specific confirmation and preview flags such as --confirm, --confirmation-id, and --dry-run. Check the relevant command entry in the CLI Command Surface before scripting a mutation.
--input-json <JSON>
Pass structured input as a JSON string. Used by commands that accept complex input beyond simple flags.
animus workflow run --input-json '{"task_id":"TASK-001","workflow_ref":"standard-workflow"}'Many mutation and workflow commands accept --input-json as an alternative to individual flags.