Filter out core args, leaving any tasks or their args for later. Sets ``self.core`` to the `.ParseResult` from this step. .. versionadded:: 1.0
(self)
| 686 | self.list_tasks() |
| 687 | |
| 688 | def parse_core_args(self) -> None: |
| 689 | """ |
| 690 | Filter out core args, leaving any tasks or their args for later. |
| 691 | |
| 692 | Sets ``self.core`` to the `.ParseResult` from this step. |
| 693 | |
| 694 | .. versionadded:: 1.0 |
| 695 | """ |
| 696 | debug("Parsing initial context (core args)") |
| 697 | parser = Parser(initial=self.initial_context, ignore_unknown=True) |
| 698 | self.core = parser.parse_argv(self.argv[1:]) |
| 699 | msg = "Core-args parse result: {!r} & unparsed: {!r}" |
| 700 | debug(msg.format(self.core, self.core.unparsed)) |
| 701 | |
| 702 | def load_collection(self) -> None: |
| 703 | """ |
no test coverage detected