maple.cmd.maple_cli.main_callback

maple.cmd.maple_cli.main_callback(verbose: bool = <typer.models.OptionInfo object>, log_file: Path | None = <typer.models.OptionInfo object>, config_file: Path | None = <typer.models.OptionInfo object>) None

Global callback for CLI initialization.

Loads configuration and sets up logging based on command-line options. This runs before any command is executed.

Parameters:
  • verbose – Enable verbose (DEBUG level) logging output.

  • log_file – Path to write logs to file instead of stderr.

  • config_file – Path to custom configuration file.