Skip to main content

Module cli

Module cli 

Source
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 a run() entry point.
  • executor — Orchestrates the full command lifecycle: loads configuration, establishes database connections, and dispatches to the appropriate command module.
  • errorCliError enum that unifies all user-facing errors with optional hints, re-exported at this level for convenience.

§Top-level Items

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.