Expand description
Command-line interface for mz-deploy.
This module defines the CLI structure and shared types used across commands.
§Submodules
commands— One module per CLI subcommand (stage,apply,compile, etc.), each exposing arun()entry point.executor— Orchestrates the full command lifecycle: loads configuration, establishes database connections, and dispatches to the appropriate command module.error—CliErrorenum that unifies all user-facing errors with optional hints, re-exported at this level for convenience.
§Top-level Items
display_error— Renders aCliErrorto stderr with rustc-style colored formatting and hint messages.
Modules§
- commands
- Command implementations for the mz-deploy CLI.
- executor
- Deployment execution utilities.
- extended_
help - Extended help system for mz-deploy.
- git
- Git metadata helpers.
- progress
- Progress reporting utilities for user-facing output.
Enums§
- CliError
- Top-level error type for CLI operations.
Functions§
- display_
error - Display a CLI error and exit with status code 1.