Workspaces
List workspaces and set the default for dun commands.
Most commands need a workspace. Set a default once, or pass --workspace / DUN_WORKSPACE_ID on each command.
List workspaces
dun workspace list
dun workspace list --jsonShows id, name, slug, your role, timezone, and plan status.
Set the default
dun workspace use your-workspace-slug
# or
dun workspace use WORKSPACE_IDThis writes the default into ~/.config/dunsocial/config.json.
Show the current workspace
dun workspace current
dun workspace current --jsonIf nothing is selected, you will get a validation error asking you to run workspace use.
Override for one command
dun posts list --workspace WORKSPACE_ID
# or
export DUN_WORKSPACE_ID=WORKSPACE_IDworkspaces is an alias of workspace.