Skip to content

feat(cli): add 'pad workspace restore' + 'pad workspace deleted' (TASK-1972)#833

Merged
xarmian merged 1 commit into
mainfrom
feat/workspace-restore-cli
Jul 6, 2026
Merged

feat(cli): add 'pad workspace restore' + 'pad workspace deleted' (TASK-1972)#833
xarmian merged 1 commit into
mainfrom
feat/workspace-restore-cli

Conversation

@xarmian

@xarmian xarmian commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Adds two Cobra subcommands wired to the existing Client.RestoreWorkspace/ListDeletedWorkspaces methods (from TASK-1970):

  • pad workspace restore <slug> — un-soft-deletes a workspace within the 30-day window (owner-only server-side).
  • pad workspace deleted — lists restorable soft-deleted workspaces with days-left (Args: cobra.NoArgs).

Both support --format json. CLI-only wiring; no store/server change.

Closes TASK-1972.

https://claude.ai/code/session_01HxBkAMiFBtCRJ2tKSCt3ST

…K-1972)

Wire two Cobra subcommands to the existing Client.RestoreWorkspace /
ListDeletedWorkspaces methods: 'pad workspace restore <slug>' un-soft-deletes
within the 30-day window, and 'pad workspace deleted' lists restorable
workspaces with days-left. Both support --format json.

Closes TASK-1972.
Claude-Session: https://claude.ai/code/session_01HxBkAMiFBtCRJ2tKSCt3ST
@xarmian xarmian merged commit 1b99c41 into main Jul 6, 2026
@xarmian xarmian deleted the feat/workspace-restore-cli branch July 6, 2026 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant