Structs§
- Session
Data - Session file content persisted between CLI invocations.
Enums§
- Session
Error - Errors that can occur during session file operations.
Functions§
- delete_
session - Delete the session file. Returns
Ok(())even if the file doesn’t exist. - delete_
session_ from - Delete a session file at a specific path. Testable variant of
delete_session. - now_
iso8601 - Format the current time as a simplified ISO 8601 string (e.g.,
"2026-02-11T12:00:00Z"). - read_
session - Read session data from the session file.
- read_
session_ from - Read session data from a specific path. Testable variant of
read_session. - session_
file_ path - Returns the path to the session file:
~/.chrome-cli/session.json. - write_
session - Write session data to the session file. Creates
~/.chrome-cli/if needed. - write_
session_ to - Write session data to a specific path. Testable variant of
write_session.