(self, command)
| 122 | super(ZshHandler, self).__init__("_stoke") |
| 123 | |
| 124 | def handle(self, command): |
| 125 | def aux(command): |
| 126 | if command.has_subcommands(): |
| 127 | self.write_cmd(command) |
| 128 | for sub in command.subcommands: |
| 129 | aux(sub) |
| 130 | else: |
| 131 | self.write_arguments(command.full_name(), command.arguments) |
| 132 | self.write_header() |
| 133 | aux(command) |
| 134 | |
| 135 | def write_cmd(self, command): |
| 136 | assert len(command.arguments) == 0 |
nothing calls this directly
no test coverage detected