You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli-reference.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,9 +59,9 @@ List persisted sessions from `.agentpowershell/sessions.json`. Text mode include
59
59
60
60
Show one persisted session from `.agentpowershell/sessions.json`. If `session-id` is omitted, the command returns the most recently created session. Missing sessions return `status: not-found` and a non-zero exit code.
61
61
62
-
### `session destroy <session-id>`
62
+
### `session destroy [session-id]`
63
63
64
-
Remove a session from the session store. Missing sessions return `status: not-found`, `removed: false`, and a non-zero exit code.
64
+
Remove a session from the session store. If `session-id` is omitted, the command removes the most recently created session. Missing sessions return `status: not-found`, `removed: false`, and a non-zero exit code.
0 commit comments