Attempts to infer the CLI name.
()
| 158 | |
| 159 | |
| 160 | def infer_cli_name() -> str: |
| 161 | """Attempts to infer the CLI name.""" |
| 162 | return os.path.basename(os.environ.get("AXLEARN_CLI_NAME", ROOT_MODULE_NAME)) |
| 163 | |
| 164 | |
| 165 | def subprocess_run(argv: Union[str, Sequence[str]], *args, **kwargs) -> subprocess.CompletedProcess: |
no test coverage detected