aboutsummaryrefslogtreecommitdiffstats
path: root/commands/user_ls.go
Commit message (Collapse)AuthorAgeFilesLines
* commands: reorg into different packagesMichael Muré2022-11-201-81/+0
|
* Add command-specific argument completionsJohannes Altmanninger2022-05-011-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 errorMichael Muré2021-05-091-6/+5
|
* commands: open and close the backend in a single place, simplify commandsMichael Muré2020-06-281-13/+6
|
* commands: refactor to avoid globalsMichael Muré2020-06-281-27/+35
|
* bug: harmonize how time are used, fix some issues in command special formatsMichael Muré2020-06-251-33/+0
| | | | This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
* cmds: cleanup and re-generate filesMichael Muré2020-06-241-61/+23
|
* Fix bugsvince2020-06-241-2/+2
| | | | | | This fixes some bugs experienced when using the new formatting options: - org-mode indents not working properly - print statements missing contents
* Clean up code and fix suggestionsvince2020-06-241-43/+68
|
* Add org-mode formatting optionvince2020-06-231-1/+19
| | | | This adds an option to the formatting flag on the ls, show and user ls commands that allows the user to specify the format of the output in org-mode. This will be useful for emacs users to read it in the editor.
* Add output formatting support to the 'show' and 'user ls' commandsvince2020-06-211-2/+65
| | | | | | This adds options to specify an output format for the commands in question. Supported formats are currently: - 'plain': plaintext, stripped of all colors - 'json': prints output as a json object
* finish the refactoring for the dedicated identifier typeMichael Muré2019-08-121-1/+1
|
* commands: "user ls" also show metadataMichael Muré2019-03-011-0/+45