command_executed and command_failed) with three properties each (command, success, version).
Global flag capabilities
Global options
Optional boolean flags
Flags documented as[boolean] (for example, --polyfill, --zip, --zip-source, --silent, --wait, --install) accept an explicit value, so you can enable or disable them without a separate --no-* flag:
- A bare flag enables it:
extension dev --polyfill false,0,no, andoffdisable it:extension dev --polyfill falsetrue,1, andyesenable it:extension build --zip true
extension.config.* from the command line, or for passing a computed value in a script (extension build --zip "$SHOULD_ZIP").
Telemetry opt-out options
You can disable telemetry in three ways (listed in precedence order):EXTENSION_TELEMETRY_DISABLED=1 in continuous integration (CI) when policy requires no telemetry across all runs.
Practical examples
Disable telemetry for a CI build
Generate machine-readable help for tooling
Keep readable help output for local debugging
Behavior notes
- The CLI parses global flags before command-specific options.
- See repository
TELEMETRY.mdand Telemetry and privacy for telemetry behavior and privacy details. - Use
extension telemetry statusto check the current consent state. - Command pages document command-specific flags separately.
- You can combine global flags with command-specific options.
- Automated tools (AI assistants and CI scripts) should read command readiness from
dist/extension-js/<browser>/ready.json, not from terminal log parsing.

