William Martin
1d38230675
Move config interfaces into gh package ( #9060 )
2024-05-10 10:39:36 +02:00
Kousik Mitra
31209bcf89
Replace SurveyAskOne with Prompter
2023-06-05 22:48:21 +05:30
Kousik Mitra
9ccd098eb0
Add gist selector option to gist edit command
2023-06-05 22:07:04 +05:30
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
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os ( #5498 )
2022-04-26 13:07:44 +02:00
Mislav Marohnić
a33b5a55c4
Have NewAskStubber perform auto-cleanup
2022-01-14 18:52:00 +01:00
Mislav Marohnić
c839d3ba1d
Check for unused ask stubs at the end of the test
2022-01-13 12:23:42 +01:00
Mislav Marohnić
2c86e671f3
Enable gh auth login for github.localhost
2021-10-18 20:01:18 +02:00
Mislav Marohnić
11fbb60ae7
Rename the module to "github.com/cli/cli/v2"
2021-08-25 12:41:30 +02:00
Heath Stewart
88af63d36f
Re-enable label colors for issue list ( #4106 )
...
* Re-enable label colors for issue list
* Drop parentheses wrapping issue labels
* Support ANSI escape codes in TablePrinter cells
* Switch to a Truncate implementation that correctly measures ANSI escape codes
* Only output RGB color if terminal has truecolor capabilities
* Enable `ENABLE_VIRTUAL_TERMINAL_PROCESSING` on Windows - fixes wrapping issues with full lines and allows truecolor rendering
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-08-23 19:55:12 +02:00
Sam
9ec1e21d4c
Default to GHES host if only GHES is authenticated ( #3286 )
2021-03-30 16:51:00 +02:00
boonhong
5403a37601
Add interactive select in gist view
2021-02-24 18:38:05 +08:00
Ruslan Gilyazetdinov
907524f459
add --files to list filenames in gist ( #2885 )
2021-02-03 22:39:58 +01:00
Mislav Marohnić
3f7b1387e5
Improve gist view rendering
...
- Separate out logic to render a single file
- Render directly to stdout instead of to string slice
- Normalize whitespace between files; ensure no excessive trailing whitespace
- Add terminal pager support
- Sentence-case for flags
2021-02-02 14:21:48 +01:00
Ruslan Gilyazetdinov
232dc7b7fa
change condition for single file, remove empty lines in single file mode
2021-02-02 10:54:07 +03:00
Ruslan Gilyazetdinov
8e86129e2e
remove gist description from single file raw view ( #2886 )
2021-02-01 18:49:26 +03:00
Cristian Dominguez
a7a90b3a4b
Move gist URL tests to its own file
2020-09-21 21:35:07 -03:00
Cristian Dominguez
d685d666b2
Set gist ID by default on all tests
2020-09-21 12:11:08 -03:00
Cristian Dominguez
ef9b75e1f6
Add tests for gist URL check
2020-09-19 18:50:07 -03:00
vilmibm
ada2c56606
test gist view
2020-09-15 16:05:30 -05:00
vilmibm
b17124157c
start on gist view
2020-09-14 10:33:29 -05:00