Generate a TD command that executes `statement`.
(statement: str)
| 71 | |
| 72 | |
| 73 | def statement_ok(statement: str) -> str: |
| 74 | """Generate a TD command that executes `statement`.""" |
| 75 | return indent(statement.strip(), prefix=" ").replace(" ", "> ", 1) |
| 76 | |
| 77 | |
| 78 | def query_ok(query: str) -> str: |