maxwelllink.cli.mxl module¶
Top-level mxl command dispatcher for MaxwellLink CLI actions.
- maxwelllink.cli.mxl.main(argv=None)[source]¶
Run the
mxlcommand dispatcher.The dispatcher selects a subcommand and forwards the remaining arguments to the matching entry point (
mxl init->mxl-init,mxl clean->mxl-clean,mxl hpc->mxl_hpc_main()), which parses them itself.- Parameters:
argv (list of str or None, default=None) – Optional command-line arguments. When
None, usessys.argv.- Returns:
Exit status code from the selected subcommand.
- Return type:
int