Create the main parser to handle the global arguments. :rtype: ``argparser.ArgumentParser`` :return: The parser object
(self)
| 470 | return self._argument_table |
| 471 | |
| 472 | def _build_command_table(self): |
| 473 | """ |
| 474 | Create the main parser to handle the global arguments. |
| 475 | |
| 476 | :rtype: ``argparser.ArgumentParser`` |
| 477 | :return: The parser object |
| 478 | |
| 479 | """ |
| 480 | command_table = self._build_builtin_commands(self.session) |
| 481 | self.session.emit( |
| 482 | 'building-command-table.main', |
| 483 | command_table=command_table, |
| 484 | session=self.session, |
| 485 | command_object=self, |
| 486 | ) |
| 487 | return command_table |
| 488 | |
| 489 | def _build_builtin_commands(self, session): |
| 490 | commands = OrderedDict() |
no test coverage detected