Skip to content

kunji history

List, search, show, export and delete saved chats.

Terminal window
# List saved chats
kunji history
# Search them
kunji history search docker
# Export one
kunji history export 3fa2c1

Saved chats: list, search, show, export, delete.

Terminal window
kunji history [options]

Options

Option Description
--limit, -n How many chats to show. (default: 20)

Search titles and messages of saved chats.

Terminal window
kunji history search <text>

Arguments

Name Required Description
text yes Words to look for.

Print a saved chat.

Terminal window
kunji history show <chat_id>

Arguments

Name Required Description
chat_id yes Chat id (first characters are enough).

Save a chat as a markdown file.

Terminal window
kunji history export <chat_id> [options]

Arguments

Name Required Description
chat_id yes Chat id

Options

Option Description
--output, -o File to write (default: .md)

Delete one saved chat, or all of them.

Terminal window
kunji history delete [chat_id] [options]

Arguments

Name Required Description
chat_id no Chat id to delete.

Options

Option Description
--all Delete every saved chat.
--yes, -y Don’t ask for confirmation.

Run kunji history --help in your terminal to see this in place.