casanovoutils.main#
Top-level CLI entry point for casanovoutils.
Builds a nested command dict from each submodule’s COMMANDS constant and
exposes them as a single casanovoutils CLI via fire.
Submodules are auto-detected: any module with a COMMANDS constant is
included. The CLI key is taken from a CLI_NAME constant if present,
otherwise the module name with a trailing utils suffix stripped.
Functions#
|
Entry point for the |
Module Contents#
- casanovoutils.main.main() None#
Entry point for the
casanovoutilsCLI.Scans all submodules of this package for a
COMMANDSconstant and builds a nested command dict to pass tofire.Fire. The top-level key for each submodule is taken from itsCLI_NAMEconstant if one exists, otherwise the bare module name is used.To expose a new group of commands, add a
COMMANDSdict to any submodule.