A gh cli extension that a will guide an org admin through the process of revoking SSO from a leaked PAT.
- prompts users for name and PAT
- supports full 40 char PAT & last 8 chars of PAT
- outputs user of matching
gh ext install pmartindev/gh-revoke
gh revoke
Begins the series of prompts.
- support for multiple PATs
- suggestions for possible orgs
- support for multiple orgs
- logic to reprompt for invalid input
- exit on keyboard interrupt
- suggestions for possible users