feat: implement /recover command for listing and recovering soft-deleted bounties #65
Reference in New Issue
Block a user
Delete Branch "fix/issue-49-recover-command"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements the
/recovercommand as specified in issue #49:List mode (
jigaido-cli recover --group-id <id>): Shows all recoverable (soft-deleted) bounties sorted bydeleted_atdescending.Recover mode (
jigaido-cli recover <id>... --group-id <id>): Recovers specific bounty(ies) by ID. Admin-only.Changes
recover_bounty()method toBountyServicecmd_recover()function and parserUsage
Output Examples
List mode:
Recover mode:
Fixes #49
Pull request closed