Skip to content

Commit

Permalink
Add bash completion for revoke.
Browse files Browse the repository at this point in the history
Co-authored-by: gesh <[email protected]>
  • Loading branch information
ltratt and hseg committed Jan 8, 2024
1 parent 81ae3a8 commit c8e5ff2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions share/bash/completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ _pizauth()
mapfile -t COMPREPLY < \
<(compgen -W "${accounts[*]}" -- "$cur")
;;
revoke)
local accounts
mapfile -t accounts < <(_accounts)
mapfile -t COMPREPLY < \
<(compgen -W "${accounts[*]}" -- "$cur")
;;
*) COMPREPLY=()
;;
esac
;;
3)
Expand Down

0 comments on commit c8e5ff2

Please sign in to comment.