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
notomo
30b3286533
Add prefer_editor_prompt config
2024-07-09 21:01:50 +09:00
William Martin
07e0ff7127
Fix repo fork to use remote protocol if none configured
2024-05-10 10:48:36 +02:00
William Martin
8a82e3a856
Provide more type safety around config values
2024-05-10 10:48:11 +02:00
William Martin
1d38230675
Move config interfaces into gh package ( #9060 )
2024-05-10 10:39:36 +02:00
William Martin
f808dcee62
Expose CacheDir on Config
2024-04-05 14:58:12 +02:00
William Martin
c9a6b7cc00
Always mock the keyring in NewIsolatedTestConfig
2023-12-06 14:06:28 +01:00
William Martin
df274d4f3a
Implement auth switch
2023-12-06 14:06:28 +01:00
Sam Coe
eb771aecc9
Address PR comments
2023-12-06 14:06:28 +01:00
Sam Coe
7924878315
Fix git protocol and refactor Config interface ( #8246 )
2023-10-27 15:42:05 +02:00
Sam Coe
20baccfa85
Add default configuration back from go-gh ( #8244 )
2023-10-24 13:23:31 +02:00
Sam Coe
dbc2f05124
Update go-gh to v2 ( #7299 )
...
* Update go-gh
* Update code for go-gh v2
2023-04-16 15:34:23 +10:00
Sam Coe
c9a2d85793
Cleanup config.AuthToken and config.DefaultHost methods ( #7049 )
2023-02-28 00:24:45 +00:00
Sam Coe
a33e12a21d
Refactor Config interface in preperation for encrypted token storage ( #7033 )
2023-02-28 10:51:12 +11:00
Sam Coe
ebc681be05
Replace os.Setenv with t.Setenv ( #6345 )
2022-09-26 13:37:34 +04:00
Sam Coe
cacff4ad6d
Use go-gh config package ( #5771 )
2022-06-23 11:50:04 +00:00
Naïm Favier
8dbd07212c
Stop auth commands from modifying global config file ( #5378 )
2022-04-11 17:26:18 +02:00
nate smith
30a30bee2e
remove todo
2022-01-14 15:34:06 -06:00
nate smith
562f1b3d0d
add GetOrDefault functionality to config
2022-01-11 14:56:58 -06:00
Sam
9ec1e21d4c
Default to GHES host if only GHES is authenticated ( #3286 )
2021-03-30 16:51:00 +02:00
Sam Coe
5c5f52c4c4
Refactor config command
2020-11-03 09:49:05 +03:00