Skip to main contentModule export
Source - ExportCommand
- Handler for
/export command.
Parses the path argument (pi-compatible) and returns ExportSession result. - ImportCommand
- Handler for
/import command.
Parses the path argument (pi-compatible) and returns ImportSession result.
- ExportError
- export_to_html
- Export the session to a self-contained HTML file.
- export_to_jsonl
- Export the current session branch to a JSONL file.
- get_path_command_argument
- Parse the path argument from a command text like
/export path or /import path.
Returns None if no argument is given (command used bare).