Zdenek Crha
999e61224c
Fix 'no description' readability in terminal with bright background
...
The rendering of color for 'No description provided' text is broken on
bright terminals - it sets black background which together with default
black forground color renders opaque rectangle.
The GreyBold color alias is broken too - name suggests bold gray
forground color, but actually sets bold default fg color with black
bacground.
First make color alias consistent. Rename it to BlackBold and have it
set bold black fg color (same as similar *Bold aliases).
Second, update all places which use it to render text to also use white
background to prevent it from disappering in terminals with black
background color.
2020-09-27 09:22:34 +02:00
Michael Muré
ae5c0967ce
commands: cleanup the command's usage to avoid warnings when generating the doc
2020-07-28 20:24:24 +02:00
Michael Muré
536c290dfb
commands: open and close the backend in a single place, simplify commands
2020-06-28 19:09:32 +02:00
Michael Muré
26bd1dd110
commands: refactor to avoid globals
2020-06-28 18:26:29 +02:00
Michael Muré
aab3a04d0c
bug: harmonize how time are used, fix some issues in command special formats
...
This assume that the convertion from time.Time <--> Unix timestamp is lossless which seems to be.
2020-06-25 23:18:17 +02:00
Michael Muré
1d06244c82
cmds: cleanup and re-generate files
2020-06-24 15:10:57 +02:00
vince
ebd1030cde
Fix bugs
...
This fixes some bugs experienced when using the new formatting options:
- org-mode indents not working properly
- print statements missing contents
2020-06-24 14:34:36 +08:00
vince
8eb004b405
Clean up code and fix suggestions
2020-06-24 10:22:32 +08:00
vince
fc3f6540b8
Add org-mode formatting option
...
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.
2020-06-23 17:51:42 +08:00
vince
cd8352edde
Add output formatting support to the 'show' and 'user ls' commands
...
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
2020-06-21 13:51:48 +08:00
Michael Muré
99b5c58d43
finish the refactoring for the dedicated identifier type
2019-08-12 16:12:14 +02:00
Amine Hilaly
14ce66f0dd
integrate actors and participant filters into ls and show commands
2019-04-05 17:18:47 +02:00
Michael Muré
96d356a34d
commands: add "show --field humanId"
2019-04-03 21:33:04 +02:00
Michael Muré
a64aaacc03
commands: fix labels no showing properly in "git bug show <id> -f labels"
...
fix #119
2019-04-03 21:07:15 +02:00
Michael Muré
2fd5f71b59
commands: add a "." at the end of Short commands usage
2019-03-01 22:52:52 +01:00
Michael Muré
da558b05ef
identity: all tests green o/
2019-03-01 22:40:24 +01:00
Michael Muré
844616baf8
identity: more progress and fixes
2019-03-01 22:40:21 +01:00
Michael Muré
43d0fe5cae
commands: show: change for a single valued --field flag
2019-01-07 23:08:48 +01:00
Sebastien Devaux
5850116c0d
Simplified show commadn error handling.
...
Exit on first unknown field found in query.
2019-01-07 18:56:29 +01:00
Sebastien Devaux
68cbde492d
Fixed golangci check error about new error from format string
2019-01-04 15:38:47 +01:00
Sebastien Devaux
1787f959ff
Adding fields switch to show command to select fields to display.
2019-01-04 15:15:42 +01:00
Cyril Roelandt
11e04748b9
Allow empty messages in comments.
...
Some bug trackers, like Launchpad, allow messages to be empty (when adding a
file to the bug, for instance).
2018-12-26 23:23:07 +01:00
Rafael Passos
f72b18496b
moved cleaner function to util/interrupt
2018-10-24 18:36:39 -03:00
Rafael Passos
c38f8f1c30
Registering lock clearing functions to Cleaner
2018-10-23 18:01:00 -03:00
Michael Muré
7a511f9a13
commands: don't load the repo for commands that don't need it
...
fix #67
2018-10-17 20:39:35 +02:00
Michael Muré
7cb7994cda
github: also pull users email
2018-10-07 18:27:23 +02:00
Michael Muré
544b9cc0c4
commands: convert compatible commands to the implicit select mechanism
2018-09-18 13:28:01 +02:00
Michael Muré
bfb5e96aab
commands: git bug comment now show the comments of a bug
2018-09-15 20:30:31 +02:00
Michael Muré
3605887345
reorganize package for a more idomatic go
2018-09-11 22:14:46 +02:00
Michael Muré
7397c94d99
make CLI commands use the cache to lock the repo properly
2018-08-31 17:22:10 +02:00
Michael Muré
4c850b5989
cleanup go imports
2018-08-13 18:39:19 +02:00
Michael Muré
17e2ec8f56
bug: refactor to limit abstraction leak and to have a more reusable code for the UIs
2018-07-23 00:04:46 +02:00
Michael Muré
e89f87624f
generate markdown documentation
2018-07-20 15:46:14 +02:00
Michael Muré
7f5922f905
rework all the commands to use cobra as a parser
2018-07-19 12:36:01 +02:00
Michael Muré
cfa11372cb
implement label op+command
2018-07-18 16:41:09 +02:00
Michael Muré
43bf0063f2
crude implementation of show
2018-07-17 20:51:09 +02:00