diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-10 15:50:56 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2019-11-10 15:50:56 +0100 |
commit | f8cf3fea035d7f0ad0287166c3a5016777acf5ad (patch) | |
tree | e077b7a22a966ba03077c76bcb35373feb5e90c5 /misc/powershell_completion | |
parent | e2445edcb99ed0aa7fcd40fe7484d71e73367334 (diff) | |
download | git-bug-f8cf3fea035d7f0ad0287166c3a5016777acf5ad.tar.gz |
cli: add bridge token show
Diffstat (limited to 'misc/powershell_completion')
-rw-r--r-- | misc/powershell_completion/git-bug | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/powershell_completion/git-bug b/misc/powershell_completion/git-bug index 094fa254..6a7bf0c3 100644 --- a/misc/powershell_completion/git-bug +++ b/misc/powershell_completion/git-bug @@ -86,7 +86,8 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { } 'git-bug;bridge;token' { [CompletionResult]::new('add', 'add', [CompletionResultType]::ParameterValue, 'Store a new token') - [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove token by Id.') + [CompletionResult]::new('rm', 'rm', [CompletionResultType]::ParameterValue, 'Remove a token.') + [CompletionResult]::new('show', 'show', [CompletionResultType]::ParameterValue, 'Display a token.') break } 'git-bug;bridge;token;add' { @@ -97,6 +98,9 @@ Register-ArgumentCompleter -Native -CommandName 'git-bug' -ScriptBlock { 'git-bug;bridge;token;rm' { break } + 'git-bug;bridge;token;show' { + break + } 'git-bug;commands' { [CompletionResult]::new('-p', 'p', [CompletionResultType]::ParameterName, 'Output the command description as well as Markdown compatible comment') [CompletionResult]::new('--pretty', 'pretty', [CompletionResultType]::ParameterName, 'Output the command description as well as Markdown compatible comment') |