--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.
--json
Enables machine-readable JSON output. All commands support this flag.
--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
- Exit Codes - Return codes for scripting
- JSON Output - Machine-readable output format
- mizu new - Create new projects
- mizu dev - Run in development mode