From 72a20fccf6cad27957c81b3f3a66ac9f53a3b470 Mon Sep 17 00:00:00 2001 From: Rizel Scarlett Date: Tue, 11 Feb 2025 13:17:58 -0500 Subject: [PATCH] docs: Adding clarity about resuming sessions to docs (#1190) --- documentation/docs/guides/goose-cli-commands.md | 2 +- documentation/docs/guides/managing-goose-sessions.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/documentation/docs/guides/goose-cli-commands.md b/documentation/docs/guides/goose-cli-commands.md index cebe9e3a..26cf8d04 100644 --- a/documentation/docs/guides/goose-cli-commands.md +++ b/documentation/docs/guides/goose-cli-commands.md @@ -61,7 +61,7 @@ goose session --name Resume the previous session ```bash -goose session --resume +goose session --resume --name ``` - **`--with-extension `** diff --git a/documentation/docs/guides/managing-goose-sessions.md b/documentation/docs/guides/managing-goose-sessions.md index ff18f820..0977de5c 100644 --- a/documentation/docs/guides/managing-goose-sessions.md +++ b/documentation/docs/guides/managing-goose-sessions.md @@ -76,6 +76,17 @@ If this is your first session, Goose will prompt you for an API key to access an goose session -r ``` + To resume a specific session, run the following command: + + ``` + goose session -r --name + ``` + For example, to resume the session named `react-migration`, you would run: + + ``` + goose session -r --name react-migration + ``` + :::tip While you can resume sessions using the commands above, we recommend creating new sessions for new tasks to reduce the chance of [doom spiraling](/docs/troubleshooting#stuck-in-a-loop-or-unresponsive). :::