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