Mislav Marohnić
657e633238
Merge pull request #1222 from cli/api-pagination
...
Add `api --paginate` option
2020-06-23 19:01:16 +02:00
Mislav Marohnić
c945fb4336
Automatically add per_page=100 to paginated REST requests
...
Most endpoints respect this parameter by default. Those that don't will
just ignore it. The `per_page=100` parameter is not added if there is
already a `per_page` parameter specified in the request.
2020-06-23 18:42:57 +02:00
Corey Johnson
6d70f31b66
Merge pull request #994 from AliabbasMerchant/fix-incorrect-docs
...
Fix incorrect docs in Issue&PR create
2020-06-23 09:38:08 -04:00
Mislav Marohnić
53738c8803
Merge pull request #1249 from HowJMay/trunk
...
fix typo
2020-06-22 13:57:07 +02:00
HowJMay
2fc4c000b5
fix typo
2020-06-22 15:19:50 +08:00
Mislav Marohnić
caa9b20eaf
Merge pull request #1243 from AliabbasMerchant/fix1219
...
Fix pr create not using .github/pull_request_template.md
2020-06-18 17:12:06 +02:00
AliabbasMerchant
ae695e98ce
Fix pr create not using .github/pull_request_template.md
2020-06-18 09:00:56 +05:30
Nate Smith
70c98a6a4e
Merge pull request #1192 from cli/triage-triage-triage
...
Add notes to triage doc
2020-06-17 13:07:59 -05:00
vilmibm
ab5cc6ae67
mention future label
2020-06-17 12:25:50 -05:00
Nate Smith
717f1da1e8
Merge pull request #1221 from cli/mislav/help-flag
...
The ultimate help/arguments handler
2020-06-17 11:20:58 -05:00
Mislav Marohnić
f4ecd365a6
api command: add GraphQL support for --paginate
2020-06-17 18:02:20 +02:00
Mislav Marohnić
3f940c98f1
Add assertion for 1st api request before pagination
2020-06-16 18:19:39 +02:00
Mislav Marohnić
7907def880
api command: add support for REST pagination
2020-06-16 18:16:49 +02:00
Mislav Marohnić
4662abb312
Merge remote-tracking branch 'origin' into fix-incorrect-docs
2020-06-16 17:08:10 +02:00
Mislav Marohnić
518f751f58
Merge remote-tracking branch 'origin' into mislav/help-flag
2020-06-16 16:54:47 +02:00
Mislav Marohnić
7b225bf1c9
Merge pull request #1147 from ShubhankarKG/issue_list
...
Added examples and custom error message for space separated issues
2020-06-16 16:53:02 +02:00
Mislav Marohnić
27cce8e3ca
Apply the no-args handler to issue/pr status commands
2020-06-16 16:50:34 +02:00
Mislav Marohnić
3fea249d70
💅 tweak issue/pr create examples
2020-06-16 16:43:05 +02:00
Mislav Marohnić
f64e5f16eb
Add special case for unsupported gh <command> help
2020-06-16 16:06:51 +02:00
Mislav Marohnić
311536433c
The ultimate --help & spelling suggester handler
...
- short command usage output now lists subcommands instead of flags for
parent commands
- mistyping a subcommand now results in a non-zero exit status
- requesting `--help` or `-h` for any command now prints help docs on
stdout and exits with 0
2020-06-16 15:41:46 +02:00
Mislav Marohnić
ce59deb7b3
Show inherited flags in help output
2020-06-16 13:58:31 +02:00
Mislav Marohnić
9c75cff94b
Show command usage output on invalid flags being passed
2020-06-16 13:58:01 +02:00
Mislav Marohnić
b838ac4014
Improve no args error handler and extend it to other commands
2020-06-15 21:01:32 +02:00
Mislav Marohnić
d583f8b5fa
Merge remote-tracking branch 'origin' into issue_list
2020-06-15 20:30:34 +02:00
Corey Johnson
6aba8b314e
Merge branch 'triage-triage-triage' of https://github.com/cli/cli into triage-triage-triage
2020-06-15 09:31:05 -07:00
Corey Johnson
1fbb2ba491
false
2020-06-15 09:30:28 -07:00
Corey Johnson
b27f371c5d
Fixup
2020-06-15 09:30:09 -07:00
Corey Johnson
d60e7586ed
Header two!
2020-06-15 09:30:03 -07:00
Corey Johnson
dab44547ee
Make a list
2020-06-15 08:38:58 -07:00
Corey Johnson
ee19d10b95
Update update line
2020-06-15 08:29:23 -07:00
Corey Johnson
1178f20f3d
Update docs/triage.md
...
Thanks @aliabbasMerchant
Co-authored-by: Aliabbas Merchant <merchantaliabbas@gmail.com>
2020-06-15 08:27:44 -07:00
Mislav Marohnić
352999e971
Merge pull request #1211 from ShubhankarKG/package
...
Added description to nfpms
2020-06-15 15:37:34 +02:00
Eddú Meléndez Gonzales
c70756d596
Improve message when draft pr is created ( #1202 )
...
Fixes #1199
Co-authored-by: Mislav Marohnić <mislav@github.com>
2020-06-15 15:27:30 +02:00
ShubhankarKG
21a96baf93
Added description to nfpms
2020-06-15 17:45:04 +05:30
Mislav Marohnić
aabf34d092
Merge pull request #1204 from ObliviousParadigm/doc_fixes
...
DOC: Changed few sentences
2020-06-15 11:06:06 +02:00
ObliviousParadigm
5851ee26dd
DOC: Changed few sentences
...
Moved code blocks to new lines to maintain consistency
2020-06-15 01:03:27 +05:30
AliabbasMerchant
84f3d46338
Better example section in issue and pr create
2020-06-14 21:53:56 +05:30
Corey Johnson
4388ff1a91
spelling mistakes
2020-06-12 14:42:32 -07:00
Corey Johnson
1105902935
Add more notes to triage doc
2020-06-12 14:40:03 -07:00
Nate Smith
54e0534b1b
Merge pull request #1177 from cli/simplifycompositelit
...
Remove redundant type declarations for composite struct literals
2020-06-12 10:56:06 -05:00
Nate Smith
d3aa12218a
Merge pull request #1179 from ajstiles/https-learn-more
...
Issue #1178 - Direct users to https url for manual
2020-06-12 10:39:07 -05:00
Adam Stiles
ab2540652d
Direct users to https url for manual
2020-06-12 07:55:37 -07:00
Mislav Marohnić
ba9370ab1f
Enable simplifycompositelit check in CI
...
This will fail the build when there are redundant types in composite
struct literals.
2020-06-12 15:59:25 +02:00
ShubhankarKG
15ec2b748e
Refactor code
2020-06-12 12:00:01 +05:30
gedenata
7aa1caf4ed
Merge branch 'trunk' into develop
2020-06-12 11:58:20 +08:00
gedenata
8ffd0d59f6
redundant type composite literal
2020-06-12 04:23:51 +08: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ć
3f6d0bff45
Switch to :owner/:repo syntax for placeholders
2020-06-11 21:46:27 +02:00
Nate Smith
420d527926
Merge pull request #1167 from cli/doc-examples-tweaks
...
Fix doc EXAMPLES formatting for HTML
2020-06-11 14:14:28 -05:00
Nate Smith
1ef6d4bc66
Merge pull request #1158 from vilmibm/default-cfg
...
initialize a non-empty config
2020-06-11 14:13:54 -05:00