aboutsummaryrefslogtreecommitdiffstats
path: root/commands
Commit message (Collapse)AuthorAgeFilesLines
* doc: fix incorrect indentationMichael Muré2022-10-221-1/+1
| | | | fix #905
* feat(530) make label commands consistentSteve Moyer2022-09-253-12/+42
|
* test(863): fix test for full id instead of "human"Steve Moyer2022-09-251-1/+1
|
* refactor(git-bug-863): merge ls-id into lsSteve Moyer2022-09-253-2/+20
| | | | | | | | The "ls" command allows filtering and sorting and already features different output formatters. Merging "ls-id" into "ls" cleans up the command hierarchy and allows users to take advantage of these querying features. Resolves #863.
* Merge pull request #855 from MichaelMure/fix-850-ineffective-comment-editSteve Moyer2022-08-2310-1/+240
|\ | | | | test(850): add tests for `git-bug comment edit` has no effect
| * fix(850): normalize Windows line endings -> *nix (golden files)Steve Moyer2022-08-231-1/+1
| |
| * fix(850): normalize Windows line endings -> *nixSteve Moyer2022-08-231-1/+1
| |
| * fix(850): merge in CombinedId from 664Steve Moyer2022-08-232-16/+1
| |
| * Merge branch 'master' into fix-850-ineffective-comment-editSteve Moyer2022-08-2315-18/+632
| |\
| * | fix(850): remove obsolete test loggingSteve Moyer2022-08-191-1/+0
| | |
| * | tests(850): add tests for comment ls, add and editSteve Moyer2022-08-199-0/+255
| | |
* | | webui: add a flag to log handling errorsMichael Muré2022-08-231-9/+17
| |/ |/|
* | bug: have a type for combined ids, fix ↵Michael Muré2022-08-222-4/+4
| | | | | | | | https://github.com/MichaelMure/git-bug/issues/653
* | move bug.Status in entities/common for reuseMichael Muré2022-08-201-1/+2
| |
* | move {bug,identity} to /entities, move input to /commandsMichael Muré2022-08-1814-13/+626
|/
* fix(836): revert to older test harnessSteve Moyer2022-08-181-4/+2
|
* feat(836): updates default ls formatter for TSV outputSteve Moyer2022-08-182-1/+61
| | | | Resolves #836
* docs(847): add compact to docs and bash for ls command's format flagSteve Moyer2022-08-161-2/+2
|
* test(809): remove reliance on repo's filesystemSteve Moyer2022-06-224-16/+15
|
* test(809): remove remaining calls to InitGoRepo in testsSteve Moyer2022-06-161-9/+2
| | | | Note that examples still need to shown how a developer would use the library.
* refactor(809): eliminate need to defer CleanupTestRepos()Steve Moyer2022-06-162-2/+3
|
* test(778): simplify and guarantee backend cleanupSteve Moyer2022-06-151-18/+4
|
* refactor(778): test only command implementationsSteve Moyer2022-06-158-191/+94
|
* chore(808): rearrange imports to git-bug conventionSteve Moyer2022-06-071-2/+3
|
* test(808): document getCWD() and clean-up argumentsSteve Moyer2022-06-071-2/+8
|
* test(808): skip root help test that uses a golden fileSteve Moyer2022-06-071-4/+2
|
* fix(808): remove duplication stderr/stdout set-upSteve Moyer2022-06-061-3/+0
|
* test(808): make build tag compatible with Go 1.16Steve Moyer2022-06-061-0/+1
|
* test(808): do not run golden file tests on WindowsSteve Moyer2022-06-062-52/+63
|
* fix(808): simplify handling of Windows line terminationsSteve Moyer2022-06-061-2/+1
|
* chore(808): merge in LocalStorage namespace configurationSteve Moyer2022-06-062-3/+3
|
* Merge branch 'master' into fix/778-git-bug-rm-brokenSteve Moyer2022-06-061-1/+3
|\
| * refactor: use namespace instead of application of applicationNameSteve Moyer2022-05-261-2/+2
| |
| * feat: make local storage configurableSteve Moyer2022-05-251-1/+3
| |
* | fix(808): replace Windows line terminatorsSteve Moyer2022-06-061-1/+5
| |
* | test(778): execute rm bug in testEnv (hangs)Steve Moyer2022-05-281-0/+15
| |
* | test(778): execute add user in testEnv and return userIDSteve Moyer2022-05-281-0/+33
| |
* | test(778): clear output after user creationSteve Moyer2022-05-281-1/+3
| |
* | test(778): verify user create results in an identity and cacheSteve Moyer2022-05-272-0/+40
| |
* | test(778): verify root command returns main help textSteve Moyer2022-05-272-0/+120
| |
* | test(778): allow alternate CWD via contextSteve Moyer2022-05-271-2/+16
| |
* | test(778): capture stderr and stdout during testsSteve Moyer2022-05-271-0/+3
|/
* completion: lots of small ironingMichael Muré2022-05-011-51/+43
|
* ls: fix incorrect query parsing with quotes escaped by the shellMichael Muré2022-05-012-7/+59
|
* completion: use the correct GenBashCompletionV2 instead of the legacy functionMichael Muré2022-05-011-8/+0
|
* Add command-specific argument completionsJohannes Altmanninger2022-05-0125-7/+398
| | | | | | | | | | | | | | | | | | | | | | 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
* Command ls: Add compact formatSascha2021-08-171-0/+28
|
* commands: proper backend close on RunE errorMichael Muré2021-05-0935-200/+174
|
* CLI: Add non-interactive option to interactive commands (#651)Sascha2021-05-096-23/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* CLI - allow user create without prompt (#650)Hariharan2021-04-251-20/+39
| | | | | | | | | | | * CLI - allow user create without prompt. Fixes #577 * Update commands/user_create.go email message Co-authored-by: Michael Muré <batolettre@gmail.com> * Update docs Co-authored-by: Michael Muré <batolettre@gmail.com>