goose-session-export - Man Page

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 directly. When used with --resume, will resume this specific session if it exists.

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

Referenced By

goose-session-diagnostics(1), goose-session-import(1), goose-session-list(1), goose-session-remove(1).

export