| 485 | |
| 486 | |
| 487 | class LoadablePastaStir(cmd2.CommandSet): |
| 488 | def __init__(self, dummy) -> None: |
| 489 | super().__init__() |
| 490 | self._dummy = dummy # prevents autoload |
| 491 | |
| 492 | stir_pasta_vigor_parser = cmd2.Cmd2ArgumentParser() |
| 493 | stir_pasta_vigor_parser.add_argument("frequency") |
| 494 | |
| 495 | @cmd2.as_subcommand_to("stir pasta", "vigorously", stir_pasta_vigor_parser) |
| 496 | def stir_pasta_vigorously(self, ns: argparse.Namespace) -> None: |
| 497 | self._cmd.poutput("stir the pasta vigorously") |
| 498 | |
| 499 | |
| 500 | class LoadableVegetables(cmd2.CommandSet): |
no outgoing calls
searching dependent graphs…