Skip to main content
Global flags can be used with any Mizu CLI command. Flags are options you add after a command to change its behavior - like --quiet to reduce output or --json to get machine-readable output for scripts. Global flags can be placed either before or after the subcommand.

Available Flags

Flag Placement

Global flags can appear before or after the command:

Detailed Reference

--help, -h

Shows help information for the CLI or a specific command.

--quiet, -q

Suppresses normal output, showing only errors. Useful for scripts where you only care about failures.
--quiet is ignored when --json is used, since JSON output mode has its own output format.

--verbose, -v

Increases output verbosity. Can be repeated for more detail.
Verbose output is written to stderr, keeping stdout clean for normal output or piping.

--json

Enables machine-readable JSON output. All commands support this flag.
See JSON Output for detailed format documentation.

--no-color

Disables colored output. Useful when:
  • Piping output to files
  • Running in environments without color support
  • Personal preference
Colors are automatically disabled when stdout is not a terminal (e.g., when piping or redirecting).

Flag Combinations

Common Patterns

Conflicting Flags

Some flags override others:

Environment Variables

The CLI also respects these environment variables:

Examples

Scripting

CI/CD Pipeline

Debugging

See Also