Configure an argument parser for this subcommand. Flags whose names start with two underscores (e.g., `__foo`) are reserved for use by the runtime and must not be defined by subcommands. Args: parser: An `argparse.ArgumentParser` scoped to this subcommand,
(self, parser)
| 528 | |
| 529 | @abstractmethod |
| 530 | def define_flags(self, parser): |
| 531 | """Configure an argument parser for this subcommand. |
| 532 | |
| 533 | Flags whose names start with two underscores (e.g., `__foo`) are |
| 534 | reserved for use by the runtime and must not be defined by |
| 535 | subcommands. |
| 536 | |
| 537 | Args: |
| 538 | parser: An `argparse.ArgumentParser` scoped to this subcommand, |
| 539 | which this function should mutate. |
| 540 | """ |
| 541 | pass |
| 542 | |
| 543 | @abstractmethod |
| 544 | def run(self, flags): |