CLI command
jeden workspace forget
Stop using the adopted workspace as the default, the inverse of adopt.
Exact invocation#
jeden workspace forget [--json]Inputs and options#
- No path is accepted. Optional:
--jsonreturns{"status":"forgotten"|"not_adopted","workspace":…}.
Output and state effect#
Removes workspace.defaultPath from ~/.jeden/config.yml, so later tasks run in the invocation directory unless --cwd is explicit. The workspace's files and session ledgers are not touched. With no adopted workspace nothing is written and the answer says so, so a repeated forget changes nothing.
Refusals and boundaries#
- A word after
forgetisargument-unexpected; a user configuration that cannot be read, or a write to it that fails, is refused with itsjeden.config.readorjeden.config.writecause, and the selection is then unchanged. - A command line of the wrong form (an unknown command or option, a missing, unexpected or invalid argument, a missing confirmation) prints the error and the usage and exits
2; a refusal that retrying unchanged can help (a dependency down or not answering, a rate limit) exits69; any other refusal or failure exits1. A refusal a functionality declares ends withfix: …andcause: <operation>.<cause>, andjeden errors show <operation>lists every cause of that functionality.