table of contents
| export(1) | General Commands Manual | export(1) |
NAME¶
export - Export a session
SYNOPSIS¶
export [-n|--name] [--session-id] [--path] [-o|--output] [--format] [--nostr] [--relay] [-h|--help]
DESCRIPTION¶
Export a session
OPTIONS¶
- -n, --name <NAME>
- Specify a name for your chat session. When used with --resume, will resume this specific session if it exists.
- --session-id <SESSION_ID>
- Specify a session ID to resume. Requires --resume.
- --path <PATH>
- Legacy parameter for backward compatibility. Extracts session ID from the file path (e.g., '/path/to/20250325_200615. jsonl' -> '20250325_200615').
- -o, --output <OUTPUT>
- Path to save the exported Markdown. If not provided, output will be sent to stdout
- --format <FORMAT> [default: markdown]
- Output format (markdown, json, yaml)
- --nostr
- Publish the JSON session export as an encrypted Nostr event and print a Goose share link
- --relay <RELAY>
- Nostr relay URL to publish to (can be specified multiple times)
- -h, --help
- Print help (see a summary with '-h')
SEE ALSO¶
goose(1), goose-session(1), goose-session-diagnostics(1), goose-session-import(1), goose-session-list(1), goose-session-remove(1)
| export |