(args: argparse.Namespace, env: Environment)
| 31 | |
| 32 | |
| 33 | def program(args: argparse.Namespace, env: Environment) -> ExitStatus: |
| 34 | if args.action is None: |
| 35 | parser.error(MSG_NAKED_INVOCATION) |
| 36 | |
| 37 | if args.action == 'plugins': |
| 38 | return dispatch_cli_task(env, args.action, args) |
| 39 | elif args.action == 'cli': |
| 40 | return dispatch_cli_task(env, args.cli_action, args) |
| 41 | |
| 42 | return ExitStatus.SUCCESS |
nothing calls this directly
no test coverage detected