(self, document)
| 353 | |
| 354 | class CollectCLICommands(docutils.nodes.GenericNodeVisitor): |
| 355 | def __init__(self, document): |
| 356 | docutils.nodes.GenericNodeVisitor.__init__(self, document) |
| 357 | self.cli_commands = [] |
| 358 | |
| 359 | def visit_literal_block(self, node): |
| 360 | contents = node.rawsource.strip() |