Commit graph

20 commits

Author SHA1 Message Date
Sam Coe
c9a2d85793
Cleanup config.AuthToken and config.DefaultHost methods (#7049) 2023-02-28 00:24:45 +00:00
Sam Coe
cacff4ad6d
Use go-gh config package (#5771) 2022-06-23 11:50:04 +00:00
Håvard Anda Estensen
58cb773e09
Replace ioutil with io and os (#5498) 2022-04-26 13:07:44 +02:00
Mislav Marohnić
ebc1f2f156 Consistently respect GH_HOST in repo archive/create/garden/view commands 2021-10-18 20:05:53 +02:00
Mislav Marohnić
e0fa56dc29 Merge remote-tracking branch 'origin' into go-module-v2 2021-09-02 20:02:16 +02:00
Mislav Marohnić
6cbc886c53 Use x/term package for repo garden instead of shelling out to stty
Shelling out to stty seems hard to get right between Linux and macOS.
2021-08-26 16:45:55 +02:00
Mislav Marohnić
11fbb60ae7 Rename the module to "github.com/cli/cli/v2" 2021-08-25 12:41:30 +02:00
Sam
9ec1e21d4c
Default to GHES host if only GHES is authenticated (#3286) 2021-03-30 16:51:00 +02:00
Josh Soref
ec82d3c47e spelling: settings 2020-11-21 21:43:51 -05:00
Nate Smith
24d863eccc
Merge pull request #2316 from cli/colors-1624
migrate off of utils color functions
2020-11-03 12:49:02 -06:00
vilmibm
47eef416b3 more iostreams passing 2020-11-02 11:47:12 -08:00
Alisson Santos
699a6c68fe Use slice and make both status lines the size of the terminal width. 2020-11-02 13:21:46 +01:00
Alisson Santos
7bff34f408 Use terminal width for the status line 2020-11-02 10:56:23 +01:00
vilmibm
a2aa154794 port entirely to ColorScheme 2020-10-29 12:37:45 -07:00
Mislav Marohnić
7660b66c6c go fmt 2020-10-16 14:07:01 +00:00
Mislav Marohnić
49378fb60f Handle Ctrl-C in repo garden 2020-10-16 13:20:23 +00:00
vilmibm
fa68a3a858 linter appeasement 2020-10-05 15:19:49 -05:00
troido
974c6d8958 restore tty settings after gh repo garden
the command 'gh repo garden' used to leave the terminal in noecho mode when exiting

This restores the tty settings to their state before running 'gh repo garden'
2020-10-03 11:01:38 +02:00
Alex Hicks
57cdfee835 Fix some bugs in repo garden in repositories with few commits 2020-09-25 17:51:59 -04:00
Nate Smith
9f486efbc6
hackday: gh repo garden (#1049)
* add gh repo garden

* move file

* oops

* fixes

* fix clearing

* block windows sadly

* broken wip

* fix api thing

* do not add to client

* move helper as it does not work on windows

* hide command

* macos fix

* Update pkg/cmd/repo/garden/garden.go

Co-authored-by: Lee Reilly <lee@github.com>

* default for key input loop

* get redrawing working

* clean up garden update, it all works

* notes

* fix arrow keys and just do wads/arrows/vi

* this function is only called once now

* support ghes

* add a progress indicator

* cap maxCommits

Co-authored-by: Lee Reilly <lee@github.com>
2020-09-15 09:59:27 -05:00