diff --git a/documentation/docs/guides/goose-cli-commands.md b/documentation/docs/guides/goose-cli-commands.md index 228c74574f21..c9435eddffd9 100644 --- a/documentation/docs/guides/goose-cli-commands.md +++ b/documentation/docs/guides/goose-cli-commands.md @@ -82,6 +82,29 @@ goose configure ``` --- +### session list [options] + +List all saved sessions. + +- **`-v, --verbose`**: (Optional) Includes session file paths in the output. +- **`-f, --format `**: Specify output format (`text` or `json`). Default is `text`. + +**Usage:** + +```bash +# List all sessions in text format (default) +goose session list +``` +```bash +# List sessions with file paths +goose session list --verbose +``` + +```bash +# List sessions in JSON format +goose session list --format json +``` +--- ### info [options]