Skip to main content

Module export

Module export 

Source

Structs§

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.

Enums§

ExportError

Functions§

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).