Scroll to navigation

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

Specify a name for your chat session. When used with --resume, will resume this specific session if it exists.
Specify a session ID to resume. Requires --resume.
Legacy parameter for backward compatibility. Extracts session ID from the file path (e.g., '/path/to/20250325_200615. jsonl' -> '20250325_200615').
Path to save the exported Markdown. If not provided, output will be sent to stdout
Output format (markdown, json, yaml)
Publish the JSON session export as an encrypted Nostr event and print a Goose share link
Nostr relay URL to publish to (can be specified multiple times)
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