Nate Smith
e3f21a58cc
Merge pull request #1816 from OjasWadhwani/parseEmoji
...
Emoji parsing in Readme content
2020-09-21 16:35:41 -05:00
Sam Coe
458d5cb42f
Respect interactive repo name input on create
2020-09-21 14:26:15 +02:00
2017A7PS0125G
cd3e9c44cf
gofmted file
2020-09-19 00:59:35 +05:30
2017A7PS0125G
5b413da745
Emoji parsing in Readme content
2020-09-19 00:24:22 +05:30
Martín Montes
381d1a1cdb
Added option to specify branch in gh repo view
2020-09-17 23:28:15 +02:00
Mislav Marohnić
b2e36a0979
Merge pull request #1706 from cli/base-resolve
...
Improve repository base and head resolution
2020-09-16 18:53:21 +02:00
Mislav Marohnić
00ac966c65
Merge remote-tracking branch 'origin' into pager-for-everyone
2020-09-16 15:58:54 +02:00
Mislav Marohnić
f9239661f2
Reuse the StubRepoInfoReponse test helper
2020-09-16 15:01:13 +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
Mislav Marohnić
b2e7f0c1e2
Merge remote-tracking branch 'origin' into pager-for-everyone
2020-09-14 14:18:42 +02:00
Nate Smith
5a8df475b9
Merge pull request #1639 from cli/disable-prompts
...
Support "prompt" config setting
2020-09-11 12:07:44 -05:00
vilmibm
a811e72c9d
do not assume public when creating repo non-interactively
2020-09-11 11:57:40 -05:00
vilmibm
1073c97409
review feedback
2020-09-11 11:36:24 -05:00
vilmibm
c0fc31f7d5
use CanPrompt in commands
2020-09-10 12:13:48 -05:00
Sam Coe
e50833cae0
Do not html escape repo view output
2020-09-10 15:25:17 +02:00
Mislav Marohnić
84b1b36433
Simplify handling the "broken pipe" error
2020-09-07 12:41:28 +02:00
Mislav Marohnić
5e11fe8fa0
Merge pull request #1623 from bdougie/bdougie-filter-credit-bots
...
Filter gh credits for humans
2020-09-07 11:44:59 +02:00
Brian 'bdougie' Douglas
d83c99f87f
filter by contributor type
2020-09-06 22:02:02 -07:00
Mislav Marohnić
ccfe38de26
Add PAGER support to commands that produce significant output
2020-09-04 23:36:14 +02:00
Colin Shum
99372f0dbc
[Refactor] Add variadic argument to repoCreate to support templates
2020-08-28 15:02:08 -04:00
Colin Shum
2886dd913f
[Refactor] toView -> toClone
2020-08-27 19:13:06 -04:00
Colin Shum
263e3a6a35
Update create_test.go
2020-08-27 17:57:55 -04:00
Colin Shum
32e5d05328
[Fix] Warn user when --template is passed with incompatible flags
2020-08-27 15:00:57 -04:00
Colin Shum
58f62a4a15
[Feature] Create repository from template
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2020-08-27 14:46:16 -04:00
Nate Smith
27c49279b3
Merge pull request #1567 from ganboonhong/view-without-username
...
View repositories without username
2020-08-25 13:57:42 -05:00
boonhong
931fee566e
shorthand of view without username
2020-08-23 23:33:50 +08:00
ShubhankarKG
7955c4f2ed
doSetup wasn't getting called in cases where required.
...
The problem was that opts.confirmSubmit was mutated before reaching doSetup. This commit creates a copy of the initial confirmSubmit value. So the doSetup receives the initial data passed from the command, not the mutated one.
2020-08-20 14:20:55 +05:30
ShubhankarKG
00b2777a14
Change visibility strings to Sentence case
2020-08-20 14:10:18 +05:30
ShubhankarKG
130c5262b2
Refactor changes
2020-08-18 16:23:16 +05:30
ShubhankarKG
2b6535f951
Merge branch 'trunk' of https://github.com/cli/cli into newConfirmations
2020-08-18 11:25:43 +05:30
Mislav Marohnić
85f0f3aad7
Enable repo create for GHE
2020-08-14 19:02:17 +02:00
Mislav Marohnić
c095a4bead
Allow explicitly specifying the hostname for gh operations
...
Accept the "HOST/OWNER/REPO" syntax or passing a full URL for both the
`--repo` flag and the GH_REPO environment variable and allow setting
GH_HOST environment variable to override just the hostname for
operations that assume "github.com" by default.
Examples:
$ gh repo clone example.org/owner/repo
$ GH_HOST=example.org gh repo clone repo
$ GH_HOST=example.org gh api user
$ GH_HOST=example.org gh gist create myfile.txt
$ gh issue list -R example.org/owner/repo
$ gh issue list -R https://example.org/owner/repo.git
$ GH_REPO=example.org/owner/repo gh issue list
2020-08-12 16:16:34 +02:00
Mislav Marohnić
aa774c4993
Merge remote-tracking branch 'origin' into issue-commands-isolate
2020-08-12 12:11:01 +02:00
Mislav Marohnić
00bdedb418
💅 Tweak wording
2020-08-11 17:06:36 +02:00
Mislav Marohnić
d876cf15b0
Merge remote-tracking branch 'origin' into issue-1456__clone-flag-help
2020-08-11 16:57:24 +02:00
Mislav Marohnić
a6e78d74de
Merge branch 'pr-commands-isolate-3' into issue-commands-isolate
2020-08-11 15:40:05 +02:00
Mislav Marohnić
34cc84c1e0
Provide consistent factory functions for top-level commands
2020-08-07 00:45:45 +02:00
vilmibm
35f18b6c02
gh auth login
2020-08-06 12:43:35 -05:00
ShubhankarKG
43ace4dc54
Fix tests failing after merging trunk
2020-08-06 12:20:39 +05:30
ShubhankarKG
01bcdbc8a1
Merge branch 'trunk' into newConfirmations
2020-08-06 11:50:46 +05:30
ShubhankarKG
d3a44f827f
Permit -y flag to create local directory as well
2020-08-06 11:47:24 +05:30
ShubhankarKG
011f30977a
1. Add three visibility tags - public, private, internal, one of which meeds to be passed.
...
2. Interactive repo create when no parameters are passed, i.e `repo create`.
3. Fix tests.
TODO : write a repo in the form of user/repository format when no user is supplied.
2020-08-06 11:33:04 +05:30
ShubhankarKG
4b64a46891
Add confirmation for risky step for repo create
2020-08-04 19:24:35 +05:30
Mislav Marohnić
a73584db72
Merge remote-tracking branch 'origin' into pr-commands-isolate
2020-08-04 15:01:30 +02:00
Shi Han NG
d24f33b679
Add Test_RepoClone_flagError
2020-08-01 19:23:28 +09:00
Shi Han NG
6e844fef87
Mention git clone flags in gh repo clone usage
2020-08-01 19:09:29 +09:00
Shi Han NG
ca8d032824
Add custom error for gh repo clone
2020-08-01 19:07:51 +09:00
Mislav Marohnić
ffe08995bb
Add notes about GHE support for git_protocol
2020-07-29 22:50:53 +02:00
Mislav Marohnić
c0b116b511
Merge remote-tracking branch 'origin' into ghe-api
2020-07-28 18:12:47 +02:00
vilmibm
29f4453e07
final repo command cleanup
2020-07-27 14:09:07 -05:00