aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_auth_show.go
Commit message (Collapse)AuthorAgeFilesLines
* Add command-specific argument completionsJohannes Altmanninger2022-05-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | Complete bug IDs, bridges, users, labels where appropriate. This works in bash and fish. ZSH is not yet supported by Cobra. In fish, descriptions (the part of a completion after the "\t") are shown as completion label, and can be searched with Ctrl+S. Reproduce with fish -C 'source misc/fish_completion/git-bug' git bug select ^I (tested with fish version 3.3.1) Also works with bash, but only for "git-bug" (with the dash) bash --rcfile <(echo source misc/bash_completion/git-bug) git-bug select ^I Closes #493
* commands: proper backend close on RunE errorMichael Muré2021-05-091-6/+5
|
* commands: open and close the backend in a single place, simplify commandsMichael Muré2020-06-281-12/+4
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-22/+26
|
* it compiles \o/Michael Muré2020-02-081-20/+12
|
* bridge: allow to configure and pull without having set a user firstMichael Muré2019-12-251-0/+29
| | | | | | | | | | - init() only the importer or exporter as required - assign a "default user" user Id to credentials at creation if no user has been set - "bridge auth": also display the user - "bridge auth show": adapt to a potential "default user" user Id - "bridge configure": allow to run without a user set - "bridge pull": allow to run without a user set - "user adopt": replace "default user" by the actual user id when run
* bridge: huge refactor to accept multiple kind of credentialsMichael Muré2019-12-081-7/+11
|
* cli: rename "token" into "auth"Michael Muré2019-11-101-0/+37