docs: Adding clarity about resuming sessions to docs (#1190)

This commit is contained in:
Rizel Scarlett
2025-02-11 13:17:58 -05:00
committed by GitHub
parent 145cdf2937
commit 72a20fccf6
2 changed files with 12 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ goose session --name <name>
Resume the previous session Resume the previous session
```bash ```bash
goose session --resume goose session --resume --name <name>
``` ```
- **`--with-extension <COMMAND>`** - **`--with-extension <COMMAND>`**

View File

@@ -76,6 +76,17 @@ If this is your first session, Goose will prompt you for an API key to access an
goose session -r goose session -r
``` ```
To resume a specific session, run the following command:
```
goose session -r --name <name>
```
For example, to resume the session named `react-migration`, you would run:
```
goose session -r --name react-migration
```
:::tip :::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). 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).
::: :::