Parse the line into a command name and a string containing the arguments. :param line: line read by prompt-toolkit :return: tuple containing (command, args, line)
(self, line: str)
| 2862 | """ |
| 2863 | |
| 2864 | def parseline(self, line: str) -> tuple[str, str, str]: |
| 2865 | """Parse the line into a command name and a string containing the arguments. |
| 2866 | |
| 2867 | :param line: line read by prompt-toolkit |
| 2868 | :return: tuple containing (command, args, line) |
| 2869 | """ |
| 2870 | partial_statement = self.statement_parser.parse_command_only(line) |
| 2871 | return partial_statement.command, partial_statement.args, partial_statement.command_and_args |
| 2872 | |
| 2873 | def onecmd_plus_hooks( |
| 2874 | self, |