carapace-action
The carapace-action describes in detail how to create Custom Actions.
Instructions
- start crush in an cobra project
ctrl+p,TAB, then select the skill- run with
create (public/private/anoymous) action ...
Public Action
for the repo completion query the api for repos where the current user has permissions to close pull requests.
the repo flag should just accept OWNER/REPO.
create a custom action in pkg/actions.
also, cache it for a day as these shouldn't change often