Commit graph

1829 commits

Author SHA1 Message Date
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ć
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ć
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
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
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