AutoMax
Reference

CLI overview

Global options, exit codes and the full command map of the automax command.

What you'll learn

How the automax command is organised, which global options every command accepts, what the exit codes mean, and where each command group is documented.

Invocation

Inside the repository the command runs from source:

bun run automax <command> [options]

After publishing, npx automax <command> or a global install do the same.

Global options

OptionEffect
--jsonmachine-readable output; errors become { "error": { code, message, hint, docsUrl } } on stderr
-q, --quieterrors only
--verbosedebug logging
--cwd <dir>repository root; by default AutoMax walks up from the current directory to find automax.workspace.yaml, automax.config.ts or a projects/ folder
--no-colordisable colours
-V, --versionprint the version

Every flag has an AUTOMAX_* environment equivalent, listed in Environment variables.

Exit codes

CodeMeaning
0success
1test failures, or a runtime error
2configuration or usage error (unknown project, missing environment, invalid YAML, unresolved variable)
3lint errors
130cancelled

Command map

GroupCommandsStatus
Onboardinginit, analyze, project, env, config, doctorproject, env, config, doctor available
Authoring and executionrun / test / watch, lint, steps, features, coverage, browsers, processesPhases 1–2, 12
Record and playbackrecord / codegen, har, authPhases 3, 6
Data and databasedata, dbPhase 5
Results and learningreport, show-report, trace, heal, insightsPhases 2, 5, 8
Agentsagent, proposalsPhase 8
Platformmcp, serve, users, tokens, schedule, integrations, completion, upgradePhases 7, 9, 11

Run bun run automax --help or bun run automax <command> --help for the live surface.

bun run automax --help

On this page