Commit graph

33 commits

Author SHA1 Message Date
Andy Feller
3eca268a7f Introduce color_labels support, update commands
This commit implements the actual changes around configuration setting / environment variable logic for displaying labels using their RGB hex color code in terminals with truecolor support.

One of the subtler changes in this commit is renaming generic ColorScheme.HexToRGB logic to render truecolor to ColorScheme.Label as this feature was being used exclusively for labels.  This is due to confusion about introducing the new `color_labels` config on top of generic coloring logic.
2025-04-02 18:24:20 -04:00
Azeem Sajid
33c30d5bd1 Inconsistent format of examples in help text 2025-02-27 16:26:25 +05:00
Azeem Sajid
8b7fb231ec Remove trailing whitespace 2025-02-13 11:06:27 +05:00
Heath Stewart
81f3526740
Fix tests 2024-08-16 10:11:52 -07:00
William Martin
600aeee2a4 Avoid parsing create or update label http response 2024-01-31 18:55:52 +01:00
w1mvy
9dd5805f9c
Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00
Yukai Chou
afbdb945bc Small docs tweaks 2023-11-23 07:14:38 +08:00
Yukai Chou
17d336e005 Wrap cli flags in backticks uniformly 2023-11-16 22:54:27 +08:00
Heath Stewart
7738b6187c
Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
Sam Coe
4a57a812f5
Upgrade to Go 1.21 (#7843) 2023-08-16 10:37:58 -07:00
Damien Sedgwick
bab1b00c39
Rename --confirm flag to --yes for various destructive commands (#6915) 2023-01-26 12:48:21 +01:00
Mislav Marohnić
3fe5026d39
Migrate to tableprinter from go-gh (#6346) 2022-10-17 15:15:39 +02:00
vilmibm
d8a276e83b add and use ConfirmDeletion in {label,repo} delete 2022-09-21 17:19:13 -07:00
Sam Coe
e7102f9d84
Migrate to go-gh text package (#6236) 2022-09-14 09:23:55 +04:00
Sam Coe
6a8deb1f5a
Integrate latest go-gh packages (#6084) 2022-08-18 09:04:13 +03:00
vilmibm
41385477c3 fix linting 2022-07-27 14:15:27 -05:00
vilmibm
d5334f4115 Revert "update linter checks"
This reverts commit 40ecb8c188.
2022-07-27 13:30:41 -05:00
vilmibm
40ecb8c188 update linter checks 2022-07-26 16:06:52 -05:00
casswedson
00bc550dc6 chore: typo hunting ft. codespell 2022-07-09 21:41:09 -05:00
Heath Stewart
b54ff58382
Parallelize label clone (#5687) 2022-05-24 10:04:05 +02:00
Heath Stewart
f834b2a510
Fix label clone to pass orderBy (#5675) 2022-05-23 08:32:11 +02:00
Sam Coe
74f0feec8b
Fix struct field tag (#5649) 2022-05-16 10:14:19 +02:00
Heath Stewart
46e5fbdc84
Add --json support to label list (#5567) 2022-05-04 13:02:55 +00:00
Heath Stewart
f0027fdfd9
Add label list sorting and delete command (#5503) 2022-05-03 07:31:18 +00:00
Heath Stewart
5ed83e2b2a
Remove Stringer from ghrepo.Interface (#5536) 2022-04-28 08:58:34 +02:00
Heath Stewart
171baca07d
Clarify label edit --name switch (#5525)
Follow-up from #5519
2022-04-27 09:37:28 +02:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
Heath Stewart
6edb4ecdbb
Add label edit command (#5519) 2022-04-26 09:43:07 +00:00
Heath Stewart
19a852ae9f
Add label clone command (#5452) 2022-04-25 18:13:22 +00:00
Roshan Padaki
13342cb272
Don't error on list commands when no results found (#5479)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-04-25 17:55:52 +00:00
Heath Stewart
1b7d03fa8a
Allow forcibly creating labels (#5451) 2022-04-14 07:26:05 +00:00
Heath Stewart
fc8739cf97
Add column for listing the label color (#5462)
Fixes #5448
2022-04-14 08:51:37 +02:00
xiaotong
4a5864708c
Add label list and label create commands (#5316) 2022-03-29 17:38:59 +00:00