Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move {bug,identity} to /entities, move input to /commands | Michael Muré | 2022-08-18 | 1 | -1/+1 |
| | |||||
* | Add command-specific argument completions | Johannes Altmanninger | 2022-05-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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 error | Michael Muré | 2021-05-09 | 1 | -6/+5 |
| | |||||
* | CLI: Add non-interactive option to interactive commands (#651) | Sascha | 2021-05-09 | 1 | -2/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | make sure every text input is safe and validated | Michael Muré | 2021-04-17 | 1 | -1/+2 |
| | | | | fix #630 | ||||
* | commands: cleanup the command's usage to avoid warnings when generating the doc | Michael Muré | 2020-07-28 | 1 | -2/+2 |
| | |||||
* | commands: open and close the backend in a single place, simplify commands | Michael Muré | 2020-06-28 | 1 | -14/+6 |
| | |||||
* | commands: refactor to avoid globals | Michael Muré | 2020-06-28 | 1 | -35/+38 |
| | |||||
* | bridge: huge refactor to accept multiple kind of credentials | Michael Muré | 2019-12-08 | 1 | -1/+1 |
| | |||||
* | Renamed user id to user-id and metioned bug for some commands | Jocelyn FACCHINI | 2019-03-23 | 1 | -1/+1 |
| | |||||
* | commands: add a "." at the end of Short commands usage | Michael Muré | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | github: fix 3 edge-case failures | Michael Muré | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | moved cleaner function to util/interrupt | Rafael Passos | 2018-10-24 | 1 | -2/+2 |
| | |||||
* | Registering lock clearing functions to Cleaner | Rafael Passos | 2018-10-23 | 1 | -0/+2 |
| | |||||
* | commands: unify the processing from editor/file/stdin for "add" and "comment ↵ | Michael Muré | 2018-10-17 | 1 | -2/+2 |
| | | | | | | add" fix #68 | ||||
* | commands: check the bug id before the user write the message for "comment add" | Michael Muré | 2018-10-17 | 1 | -5/+5 |
| | |||||
* | commands: fix "comment add" flags set on the wrong command | Michael Muré | 2018-10-17 | 1 | -3/+3 |
| | |||||
* | commands: don't load the repo for commands that don't need it | Michael Muré | 2018-10-17 | 1 | -3/+4 |
| | | | | fix #67 | ||||
* | Make addCommentWithEditor accept a preMessage | Luke Adams | 2018-10-04 | 1 | -1/+1 |
| | |||||
* | repo: split the Repo interface to avoid abstraction leak in RepoCache | Michael Muré | 2018-09-21 | 1 | -1/+1 |
| | |||||
* | commands: description cleanup | Michael Muré | 2018-09-21 | 1 | -1/+1 |
| | |||||
* | commands: convert compatible commands to the implicit select mechanism | Michael Muré | 2018-09-18 | 1 | -15/+3 |
| | |||||
* | commands: add `git bug comment add` to add a comment | Michael Muré | 2018-09-15 | 1 | -0/+85 |