| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option to skip the AvatarURL input request
Using an empty string for the avatar cli flag e.g. `git-bug user create
-a ""` will still result in a prompt. As the avatar URL is an optional
option, it should be possible to skip asking for it entirely.
Otherwise automated user creation via a script must make use of pipe hacks.
* Add global --non-interactive cmdline option
* Replace --skipAvatar for --non-interactive option
* Cmd BugAdd: respect non-interactive option
* Cmd bridge configure: respect non-interactive opt
* Cmd CommentAdd: respect non-interactive option
* Cmd CommentEdit: respect non-interactive option
* Cmd TermUI: respect non-interactive option
* Cmd TitleEdit: respect non-interactive option
* Remove global non-interactive option
* Cmd UserCreate: Use local non-interactive option
* Cmd BugAdd: Use local non-interactive option
* Cmd BridgeConfigure: Use local non-interactive option
* Cmd CommentAdd: Use local non-interactive option
* Cmd CommentEdit: Use local non-interactive option
* Cmd TermUI: Drop non-interactive option
It should be obviouse that the termui is an interactive command.
* Cmd TitleEdit: Use local non-interactive option
* Update docs
* Bridge GitHub: respect non-interactive option
* Bridge GitLab: respect non-interactive option
* Bridge Jira: respect non-interactive and token opt
* Fix failing compilation
* Bridge launchpad: respect non-interactive option
* bridge: isNonInteractive --> interactive
Co-authored-by: Michael Muré <batolettre@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
| |
- automatic flag validation and warning
- generalized prompt
- cleanups
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
commands: move tokenStdin handling logic to bridge.Configure
|
|
|
|
| |
commands: error if a token is provide but not the bridge name and target
|
|
|
|
|
| |
bridge/github: improve configuration logic
Co-Authored-By: Michael Muré <batolettre@gmail.com>
|
|
|
|
| |
bridge: improve bridge config validation
|
| |
|
|
|
|
| |
docs: add bridge usage examples
|
| |
|
| |
|
|
|
|
|
| |
validate token
global fixes
|
|
|
|
|
|
| |
correct error message
Co-Authored-By: Michael Muré <batolettre@gmail.com>
|
| |
|
|
|
| |
Co-Authored-By: Michael Muré <batolettre@gmail.com>
|
| |
|
|
|
|
| |
rename `validateGithubURLRemotes` to `getValideGithubRemoteURLs`
|
|
|
|
|
| |
Enhance printing in prompt
Co-Authored-By: Michael Muré <batolettre@gmail.com>
|
|
|
|
|
| |
fix --target flag description
improve comments
|
|
|
|
|
| |
Add bridge params
Change bridge.Configure signature
|
| |
|
| |
|
| |
|
|
|
|
| |
fix #67
|
| |
|
| |
|
|
|