ml_switcheroo.cli.__main__¶

Main Entry Point for ml-switcheroo CLI.

This module handles argument parsing and dispatches to specific command handlers defined in ml_switcheroo.cli.commands and ml_switcheroo.cli.handlers.

Functions¶

main(→ int)

Main CLI entry point.

Module Contents¶

ml_switcheroo.cli.__main__.main(argv: List[str] | None = None) → int¶

Main CLI entry point.

Parses arguments via argparse and calls the appropriate handler function.

Parameters:

argv – Optional list of command line arguments (defaults to sys.argv).

Returns:

Exit code (0 for success, non-zero for failure).

Return type:

int