parse_groups#

maize.utilities.io.parse_groups(parser: ArgumentParser) dict[str, Namespace][source]#

Parse commandline arguments into separate groups.

Parameters:

parser – Parser with initialised groups and added arguments

Returns:

Parsed arguments sorted by group

Return type:

dict[str, dict[str, Any]]