Commit graph

915 commits

Author SHA1 Message Date
Nate Smith
a55b473188
Merge pull request #591 from cli/powershell-completions
Add support for PowerShell completion
2020-03-10 14:56:28 -07:00
Nate Smith
6886795a2d
Merge pull request #617 from cli/repo-create-homepage
Fix setting homepage URL in `repo create`
2020-03-10 14:52:49 -07:00
Nate Smith
80f4cdde82
Merge pull request #618 from cli/pr-create-validate
Ensure `pr create` validates all inputs before forking+pushing
2020-03-10 14:51:00 -07:00
Nate Smith
d03b94c5b2
Merge pull request #628 from cli/api-flags-rm
Stop opting into API previews that have since shipped
2020-03-10 14:40:11 -07:00
Billy Griffin
601a934a99
Merge pull request #630 from cli/create-docs
Move docs to docs folder
2020-03-10 15:08:13 -06:00
Billy Griffin
159a697159 Add README to docs folder 2020-03-10 13:22:39 -06:00
Billy Griffin
f32235aa08 Move docs to docs folder
The docs were just hanging out in the top level repo and we thought it'd be nicer to start to organize them together.
2020-03-10 12:52:01 -06:00
Amanda Pinsker
7f9cceccbd
Make the README title a little less verbose 2020-03-10 11:15:47 -07:00
Mislav Marohnić
7c11f7655a No need to opt in to shadow-cat API preview
This was needed for draft pull requests, but these APIs were public
since Feburary 2020.
2020-03-10 13:59:56 +01:00
Mislav Marohnić
42b40b1179 No longer need to opt into pe_mobile API flag
`pe_mobile` was required to get access to `reviewDecision` and
`statusCheckRollup`, but both are now public in GitHub API.
2020-03-10 13:58:06 +01:00
Mislav Marohnić
d584a9692c Raise error if --draft was used in pr create --web
Since we cannot pass the "draft" option as query parameter, this raises
an error instead of proceeding to open the browser and potentially
confuse the user as to why `--draft` wasn't respected.
2020-03-09 14:53:27 +01:00
Mislav Marohnić
7777307588 Avoid forking/pushing until pr create inputs have been processed
This avoids fork or push operation if there were errors processing the
input arguments or if the operation has been cancelled during
interactive survey.
2020-03-09 14:51:40 +01:00
Mislav Marohnić
f9c32654e9 Fix setting homepage URL in repo create 2020-03-09 12:53:41 +01:00
Mislav Marohnić
115b4b5ee9
Merge pull request #614 from MikeRogers0/refactor/fix-spelling-mistakes
Fixing 2 typos
2020-03-09 11:44:08 +01:00
Mike Rogers
50e886c5f8 sequental > sequential 2020-03-07 20:44:39 +00:00
Mike Rogers
caf12adef1 unusally > unusually 2020-03-07 20:44:14 +00:00
Mislav Marohnić
ca7a9364fd
Merge pull request #594 from alissonbrunosa/pr-list-remove-duplicates
Remove duplicated PRs from GitHub API response.
2020-03-05 19:15:26 +01:00
Alisson Santos
7a0a6658d5 avoid nested ifs 2020-03-05 18:52:27 +01:00
Mislav Marohnić
7e3ce60da5
Merge pull request #526 from henvic/impr/race
tests: adding the Go data race detector.
2020-03-05 18:25:38 +01:00
Alisson Santos
101d985a16 remove duplicate from pages 2020-03-05 18:10:00 +01:00
Henrique Vicente
a1db5c3070 tests: adding the Go data race detector.
https://golang.org/doc/articles/race_detector.html
https://blog.golang.org/race-detector
2020-03-05 14:40:55 +01:00
Alisson Santos
a3557197fe 2 space identation for JSON 2020-03-05 14:05:33 +01:00
Alisson Santos
dcedacd4f7 Remove duplicates 2020-03-05 13:55:36 +01:00
Mislav Marohnić
fa595596de Improve completion docs 2020-03-05 09:34:05 +01:00
Mislav Marohnić
aa07c5366e Add support for PowerShell completion 2020-03-05 09:33:49 +01:00
Nate Smith
d4cb2d860f
Merge pull request #586 from cli/lets-be-punctual
Consistent punctuation in repo usage
2020-03-04 11:28:28 -06:00
Billy Griffin
f2262cfcae
Consistent punctuation in usage 2020-03-04 10:22:46 -07:00
Nate Smith
bc6a151e7f
Merge pull request #577 from cli/update-site-docs
Fix `make site-docs`
2020-03-04 10:49:38 -06:00
Nate Smith
9336a7d207
Merge pull request #584 from muesli/typo-fixes
Fix typo in 'overridden'
2020-03-04 10:48:51 -06:00
Christian Muehlhaeuser
fdfcecfcb6 Fix typo in 'overridden' 2020-03-04 14:20:55 +00:00
Mislav Marohnić
f3e0a0366f
Merge pull request #583 from muesli/glamour-update
Bump glamour dependency
2020-03-04 15:20:31 +01:00
Christian Muehlhaeuser
0d6e347155
Bump glamour dependency
This indirectly also updates the chroma syntax highlighting package,
which fixes a rendering bug for CRLF line endings, which we
encountered in cli. We can therefore remove our internal work-around.
2020-03-04 15:03:04 +01:00
Mislav Marohnić
535f7546ac
Merge pull request #578 from cli/update-repo-usage
Add fork, clone, create, view to repo usage
2020-03-03 23:41:40 +01:00
Billy Griffin
be32459de1
Update repo usage 2020-03-03 15:38:50 -07:00
Mislav Marohnić
86b5d4a277
Merge pull request #576 from cli/repo-usage-in-readme
Add usage to README for repos
2020-03-03 23:37:17 +01:00
Billy Griffin
d3013595f0
Add usage to README for repos 2020-03-03 15:35:10 -07:00
Mislav Marohnić
030538871d Fix make site-docs 2020-03-03 23:34:32 +01:00
Mislav Marohnić
6c2328bdb3
Merge pull request #547 from cli/repo-create
Add preliminary `repo create` command
2020-03-03 23:05:40 +01:00
Mislav Marohnić
74cd5b3837 Use overridable Confirm 2020-03-03 22:59:50 +01:00
Mislav Marohnić
15b758aaa9 Tweak repo docs 2020-03-03 22:59:35 +01:00
Nate Smith
e1aa43ffaa
Merge pull request #570 from cli/pending-release
Move pending release cards into done on release
2020-03-03 15:56:36 -06:00
Mislav Marohnić
52cc04e300 Merge remote-tracking branch 'origin/master' into repo-create 2020-03-03 22:55:49 +01:00
vilmibm
26c799e2ea use function not env var 2020-03-03 15:52:26 -06:00
Mislav Marohnić
c610f5c9ff
Merge pull request #549 from cli/repo-fork
gh repo fork
2020-03-03 22:51:52 +01:00
vilmibm
17e690e093 hopefully fix if 2020-03-03 15:48:31 -06:00
vilmibm
11424e0ed0 step not job 2020-03-03 15:46:32 -06:00
Nate Smith
3d7733870e
Merge branch 'master' into repo-fork 2020-03-03 15:40:54 -06:00
vilmibm
44c0d115fc usage 2020-03-03 15:40:19 -06:00
vilmibm
90d2f99d2a this fetch was redundant since AddRemote fetches 2020-03-03 15:38:05 -06:00
Mislav Marohnić
a73880f5dd
Merge pull request #567 from cli/pr-selector-base
Fix detecting PR for current branch pushed to fork
2020-03-03 22:02:21 +01:00