vilmibm
4a467864d5
linter appeasement
2020-09-15 15:22:28 -05:00
vilmibm
f124b426fe
tweak gist view; support --filename
2020-09-15 14:56:13 -05:00
vilmibm
a61c897e4c
show filename if no description
2020-09-15 14:55:55 -05:00
vilmibm
ba5b639be4
finish list tests
2020-09-15 14:33:14 -05:00
Mislav Marohnić
d534a94d1b
Change how base repository is resolved
...
On first run in a git repository, `BaseRepo()` will now prompt the user
which repository should be queried as base repository if there are
multiple git remotes or when we are in the context of a fork.
In non-interactive mode, the prompt is skipped and we default to the
first git remote instead.
After the base repo is resolved, the result is cached in the local
repository using `git config` so that RepositoryNetwork API lookups can
be avoided in the future.
2020-09-15 21:27:12 +02:00
vilmibm
9fd87faadc
wip tests
2020-09-15 14:15:44 -05:00
vilmibm
425f707c7d
fix tests
2020-09-15 13:36:32 -05:00
vilmibm
0af61ff1ff
Merge remote-tracking branch 'origin/trunk' into more-gists
2020-09-15 13:25:06 -05:00
Nate Smith
2071c72a05
Merge pull request #1705 from cli/feedback-tmpl
...
add issue template for general feedback
2020-09-15 13:01:04 -05:00
Mislav Marohnić
969321bff2
🔥 cleanup in context
2020-09-15 19:09:16 +02:00
Nate Smith
50211eade3
add issue template for general feedback
...
is this a good idea?
2020-09-15 12:00:07 -05:00
Sam
4933fd9415
Merge pull request #1696 from cli/env-help-topic
...
Extract environment variables as a separate help topic
2020-09-15 17:21:32 +02: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
Nate Smith
6d63e37466
Merge pull request #1704 from cristiand391/cristiand391-patch-1
...
Go 1.15+ is required to run the test suit
2020-09-15 09:54:47 -05:00
vilmibm
1887fc07c9
working on list tests, need to debug
2020-09-15 09:39:30 -05:00
Nate Smith
0c0e042e72
Merge pull request #1642 from cli/web-flag
...
support auth login --web
2020-09-15 09:37:41 -05:00
Mislav Marohnić
8b9d4274b7
Merge pull request #1697 from cli/release-download-fix
...
Fix `release download`
2020-09-15 15:12:59 +02:00
Mislav Marohnić
50291aa6de
Add PAGER support to the api command
2020-09-15 11:43:49 +02:00
Cristian Dominguez
3d350e8707
Go 1.15+ is required to run the test suit
2020-09-14 20:31:22 +00:00
Sam Coe
7ecb6a413f
Add tests for help topics
2020-09-14 22:27:17 +02:00
Amanda Pinsker
f43a65a69f
Merge branch 'trunk' into readme-updates
2020-09-14 15:06:03 -04:00
Amanda Pinsker
a50b0dbc11
Merge pull request #1700 from cli/fix-config
...
Tweak config help docs
2020-09-14 14:09:00 -04:00
Amanda Pinsker
db77f2dc66
Add examples
2020-09-14 12:42:13 -04:00
Amanda Pinsker
c3863e35b4
Add prompt to gh config help
2020-09-14 12:40:56 -04:00
vilmibm
00b4eab573
include in readme
2020-09-14 11:29:11 -05:00
vilmibm
b3266d9454
linter appeasement
2020-09-14 11:10:17 -05:00
vilmibm
41382a558b
better err
2020-09-14 11:09:50 -05:00
vilmibm
190d76abc5
linter appeasement
2020-09-14 11:08:32 -05:00
vilmibm
ecfbaaa31c
linter appeasement
2020-09-14 11:07:33 -05:00
vilmibm
e7ab1b753e
linter appeasement
2020-09-14 11:05:26 -05:00
vilmibm
2df6a6eb8c
s/private/secret/
2020-09-14 11:04:37 -05:00
Sam Coe
21449213e5
Expand help topic functionality
2020-09-14 17:50:50 +02:00
vilmibm
415c2ac482
put gist in core commands
2020-09-14 10:43:34 -05:00
vilmibm
1edff18ad4
s/private/secret
2020-09-14 10:38:35 -05:00
vilmibm
269adab75a
improve list output
2020-09-14 10:33:29 -05:00
vilmibm
02d94d6f93
hmm
2020-09-14 10:33:29 -05:00
vilmibm
dc345a9f73
support --web for gist view
2020-09-14 10:33:29 -05:00
vilmibm
0d3056d9a7
gh gist edit
2020-09-14 10:33:29 -05:00
vilmibm
39b6ec8aec
share gist getting
2020-09-14 10:33:29 -05:00
vilmibm
b6502deb24
allow naming stdin gist files
2020-09-14 10:33:29 -05:00
vilmibm
f3b4493448
print aliases as valid yaml when piping
2020-09-14 10:33:29 -05:00
vilmibm
b17124157c
start on gist view
2020-09-14 10:33:29 -05:00
vilmibm
f7c4a0cf3f
gh gist list
2020-09-14 10:33:29 -05:00
vilmibm
68a019cc3c
review feedback
2020-09-14 10:16:50 -05:00
Mislav Marohnić
76181156ba
Prevent endless recursive pager
...
Unset PAGER environment variable when executing the command referenced
in PAGER in case that command also has support for PAGER and would end
up executing itself indefinitely.
2020-09-14 16:49:30 +02:00
Mislav Marohnić
3c32507a13
Consistent use of quotes to delineate commands to be run
2020-09-14 16:26:23 +02:00
Mislav Marohnić
aa72463114
Extract environment as a separate help topic
...
Co-authored-by: Sam Coe <samcoe@github.com>
2020-09-14 16:25:30 +02:00
Mislav Marohnić
662f83fcb9
Fix release download
...
Only ever try to set an `Authorization` request header to hosts that we
have OAuth credentials for; skip the header otherwise.
2020-09-14 15:31:31 +02:00
Mislav Marohnić
6ad6784c46
Ignore EPIPE when forwarding pr diff output to pager
2020-09-14 15:30:10 +02:00
Mislav Marohnić
b2e7f0c1e2
Merge remote-tracking branch 'origin' into pager-for-everyone
2020-09-14 14:18:42 +02:00