Commit graph

11279 commits

Author SHA1 Message Date
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
Eddú Meléndez
8a96299735 Fix lint 2020-06-13 21:07:12 -05:00
Eddú Meléndez
a16405650f Define query variables 2020-06-13 20:55:55 -05:00
Eddú Meléndez
9aebb66a3c Add milestone filter 2020-06-13 20:53:41 -05:00
Eddú Meléndez
2943703d4a Add mentioned flag 2020-06-13 20:53:03 -05:00
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
gabgodBB
e6e8f701a2 Issue #930 - Removing color for output files 2020-06-12 14:26:38 -03: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
naman
fffa393683 fix lint 2020-06-11 17:08:18 -07:00
naman
fb7b01b40c resolve PR review 2020-06-11 17:05:25 -07: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
vilmibm
64a7fd4200 test default configuration 2020-06-11 14:04:41 -05:00
vilmibm
47102fe427 just fill in the blank config with default content 2020-06-11 14:04:29 -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