diff options
| author | Elvis Claros Castro <elvis@claros.ar> | 2026-10-03 20:48:25 -0300 |
|---|---|---|
| committer | Elvis Claros Castro <elvis@claros.ar> | 2026-10-03 20:48:25 -0300 |
| commit | 5fc59b6936b2d4a05f5f5192458145d0112431d3 (patch) | |
| tree | c79518ff574d7d07ee8de11f720ce862a94c4d10 /claude_logbook/cli.py | |
| parent | ec23516d63061c066556d22f922b3c61e5837595 (diff) | |
| download | claude-logbook-5fc59b6936b2d4a05f5f5192458145d0112431d3.tar.gz claude-logbook-5fc59b6936b2d4a05f5f5192458145d0112431d3.zip | |
Show a single session as the page itself
A page with one session and no memories (a shared link, or -s --html)
skips the list, stats and filters: the reader becomes the page, with the
title, the details (now with the Claude Code version) and the transcript.
A single session is exported without memories.
Diffstat (limited to 'claude_logbook/cli.py')
| -rw-r--r-- | claude_logbook/cli.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/claude_logbook/cli.py b/claude_logbook/cli.py index 57385c1..64c6c01 100644 --- a/claude_logbook/cli.py +++ b/claude_logbook/cli.py @@ -293,9 +293,10 @@ def delete_targets(pool, args): def export_selection(sessions, args): """What --json and --html export: the -s session, or what the filters and -n leave. With no filter at all, everything, memories included; otherwise - only the memories of the projects that made it.""" + only the memories of the projects that made it. A single session (-s) goes + alone, as it would be shared: no memories.""" if args.show: - chosen = [pick(filtered(sessions, args), args.show)] + return [pick(filtered(sessions, args), args.show)], [] else: chosen = filtered(sessions, args) if args.limit: |