| 1 | |
| 2 | class ArgumentsManager: |
| 3 | def __init__(self) -> None: |
| 4 | pass |
| 5 | |
| 6 | def _get_arguments(self, args, length=2): |
| 7 | arguments = args.arg_list |
| 8 | value,option = None, None |
| 9 | for index, argv in enumerate(arguments): |
| 10 | if index == 0: |
| 11 | option = argv |
| 12 | else: |
| 13 | value = '' if value is None else value |
| 14 | value+= " " + argv |
| 15 | |
| 16 | return option, value.lstrip() if value is not None else None |
nothing calls this directly
no outgoing calls
no test coverage detected