Commit graph

992 commits

Author SHA1 Message Date
Adam Stiles
ab2540652d Direct users to https url for manual 2020-06-12 07:55:37 -07:00
Nate Smith
db74ea051e
Merge pull request #1165 from cli/api-repo-placeholders
api command: support `{owner}` and `{repo}` placeholders
2020-06-11 15:18:43 -05:00
Mislav Marohnić
d5c4e23ca5 Tweak last few Example sections 2020-06-11 20:36:08 +02:00
Mislav Marohnić
73ab5810ea Merge remote-tracking branch 'origin' into doc-examples-tweaks 2020-06-11 20:32:47 +02:00
Mislav Marohnić
0dfc0f733f Fix indentation of Example blocks
In HTML, `Example` blocks seem to be already injected in fenced Markdown
blocks `` ``` ``, so they don't need to be especially intented.
2020-06-11 20:31:37 +02:00
Mislav Marohnić
99fce24fc8 Fix FLAGS section showing up empty for config get/set
This is because `config get/set` both do have a flag, but it's hidden.
2020-06-11 18:50:18 +02:00
Mislav Marohnić
e6a0c3dc28 Fix EXAMPLES sections of various commands
- Code should be intented per Markdown syntax for a code block. This
  matters when this documentation is rendered to HTML

- Fix some innaccurate usage examples

- Tweak wording, formatting in a few places
2020-06-11 18:47:57 +02:00
Corey Johnson
cde76930a1
Merge pull request #1157 from bvwells/limit
Validate pr and issue limit flag
2020-06-11 09:37:05 -07:00
Nate Smith
63d9611c0a
Merge pull request #1166 from cli/fix-gh-config-examples
Tweak gh config examples in help output
2020-06-11 10:25:01 -05:00
Nate Smith
e6721c595d
Merge pull request #1164 from AliabbasMerchant/fix-1159
Fix error when Milestone is empty during PR create
2020-06-11 10:20:04 -05:00
Mislav Marohnić
e7c934b05c Tweak gh help config output 2020-06-11 16:44:27 +02:00
Mislav Marohnić
8e90c27c46 Use Cobra's Example field for config get/set examples 2020-06-11 16:44:08 +02:00
Mislav Marohnić
8ffbc24c65 Merge remote-tracking branch 'origin' into fix-gh-config-examples 2020-06-11 16:30:00 +02:00
Mislav Marohnić
acf0046718 api command: support {owner} and {repo} placeholders
When `{owner}` and `{repo}` strings are found in request path (for REST
requests) or `query` (for GraphQL), they are replaced with values from
the repository of the current working directory.
2020-06-11 15:00:29 +02:00
AliabbasMerchant
26987c1434 Fix error when Milestone is empty during PR create 2020-06-11 17:27:18 +05:30
micnncim
c6c366e8f5 Fix gh config examples in documentations 2020-06-11 19:53:09 +09:00
gedenata
cfaedd4c71 redundant type slice-string 2020-06-11 07:32:09 +08:00
Ben Wells
a89f45b1ed Validate pr and issue limit flag 2020-06-10 21:42:38 +01:00
Corey Johnson
2fb48e93ed Inline method call 2020-06-10 09:59:40 -07:00
Corey Johnson
7d7a010739 Clear out usage func 2020-06-10 09:43:24 -07:00
Corey Johnson
4931892cc3 Apply changes that were lost in merge conflict 2020-06-10 09:30:35 -07:00
Corey Johnson
d140ae6f5b Don't show hidden commands 2020-06-10 09:29:34 -07:00
Corey Johnson
56f1315d5f Merge remote-tracking branch 'origin/trunk' into h-e-l-p 2020-06-10 09:28:40 -07:00
Nate Smith
12e8c4a184
Merge pull request #1122 from joehattori/feature/use-new-httpmock
use new httpmock API in repo_test.go
2020-06-10 10:37:44 -05:00
Aliabbas Merchant
4d84e4696a
Reverse the order of commits in pr create --fill (#1144) 2020-06-10 12:56:26 +02:00
Mislav Marohnić
e19ea12265 Merge remote-tracking branch 'origin' into blank-issue 2020-06-10 12:35:33 +02:00
Corey Johnson
30d1257096 Update help output 2020-06-09 13:19:00 -07:00
Corey Johnson
8979c0ce41 Update repo 2020-06-09 09:51:18 -07:00
Corey Johnson
a6948423f4 Update issue and pr help 2020-06-09 09:33:22 -07:00
Corey Johnson
0af61bee90 Set core root commands 2020-06-09 08:49:22 -07:00
Corey Johnson
51353c79d6 Use cobra Example field 2020-06-09 08:43:22 -07:00
Nate Smith
28f91cbed8
Merge pull request #1107 from vilmibm/move-credits
minor credits polish
2020-06-08 15:17:52 -05:00
vilmibm
89830d86d1 correct usage 2020-06-08 12:32:51 -05:00
vilmibm
e2ef712e43 use Command.Hidden 2020-06-08 12:31:40 -05:00
Nate Smith
cb4baaeaf3
Merge pull request #1124 from AliabbasMerchant/fix-issue-1083
Fix error while adding Milestone Metadata to PR during create
2020-06-08 12:20:08 -05:00
Mislav Marohnić
70568a628c
Merge pull request #1126 from AlbyIanna/patch-1
Change angular brackets with single quotes
2020-06-08 14:29:04 +02:00
Mislav Marohnić
696117ccb9
Remove quotes around link 2020-06-08 14:28:19 +02:00
Mislav Marohnić
f976056126
Merge pull request #1109 from gedenata/remove-strict-link
remove strict ">" when click link

Closes #1126
2020-06-08 13:56:07 +02:00
Alberto Iannaccone
102a31cd38
change angular brackets with single quotes 2020-06-08 10:40:09 +02:00
AliabbasMerchant
64282e7bb2 Fix error while adding Milestone Metadata to PR during create 2020-06-08 10:26:28 +05:30
Joe Hattori
b51dfe6dbe use new httpmock API in repo_test.go
Signed-off-by: Joe Hattori <joe2ninja21@gmail.com>
2020-06-08 01:12:35 +09:00
vilmibm
8963d80942 better get func 2020-06-05 13:09:04 -05:00
vilmibm
6bd898ee54 start on alias delete 2020-06-05 13:04:45 -05:00
vilmibm
106a0957e1 review feedback 2020-06-05 12:24:54 -05:00
vilmibm
953ea7cf7b do not use : when not printing to tty 2020-06-05 12:06:51 -05:00
vilmibm
8ca53dd3ba no example for no-arg command 2020-06-05 12:06:51 -05:00
vilmibm
a05daf2145 gh alias list 2020-06-05 12:06:51 -05:00
Mislav Marohnić
385f449422
Merge pull request #861 from joehattori/feature/clone-without-username
shorthand of clone without username
2020-06-05 13:34:57 +02:00
Mislav Marohnić
a395290d87 Use new httpmock API in test 2020-06-05 13:29:44 +02:00
Mislav Marohnić
d59ebfd6e8 repo clone: clarify defaulting to current username 2020-06-05 13:00:40 +02:00