(argv: list[str])
| 308 | |
| 309 | |
| 310 | def parse_flags(argv: list[str]) -> argparse_flags.argparse.Namespace: |
| 311 | root = CommandGroup( |
| 312 | "root", argv=argv, description="AXLearn: An Extensible Deep Learning Library." |
| 313 | ) |
| 314 | # TODO(markblee): Add top level arguments here, like verbosity. |
| 315 | for command_group in _command_group_registry.values(): |
| 316 | command_group(parent=root) |
| 317 | return root.parse_known_args() |
| 318 | |
| 319 | |
| 320 | def main(**kwargs): |
nothing calls this directly
no test coverage detected