Update repo

This commit is contained in:
Corey Johnson 2020-06-09 09:51:18 -07:00
parent a6948423f4
commit 8979c0ce41
3 changed files with 12 additions and 7 deletions

View file

@ -51,7 +51,7 @@ func init() {
var issueCmd = &cobra.Command{
Use: "issue <command> [flags]",
Short: "Create and view issues",
Long: `Work with GitHub issues.`,
Long: `Work with GitHub issues`,
Example: `$ gh issue list
$ gh issue create --fill
$ gh issue view --web`,

View file

@ -48,7 +48,7 @@ func init() {
var prCmd = &cobra.Command{
Use: "pr <command> [flags]",
Short: "Create, view, and checkout pull requests",
Long: `Work with GitHub pull requests.`,
Long: `Work with GitHub pull requests`,
Example: `$ gh pr checkout 353
$ gh pr checkout bug-fix-branch
$ gh pr create --fill

View file

@ -41,14 +41,19 @@ func init() {
}
var repoCmd = &cobra.Command{
Use: "repo",
Use: "repo <command> [flags]",
Short: "Create, clone, fork, and view repositories",
Long: `Work with GitHub repositories.
Long: `Work with GitHub repositories`,
Example: `$ gh repo create
$ gh repo clone cli/cli
$ gh repo view --web
`,
Annotations: map[string]string{
"IsCore": "true",
"help:arguments": `
A repository can be supplied as an argument in any of the following formats:
- "OWNER/REPO"
- by URL, e.g. "https://github.com/OWNER/REPO"`,
Annotations: map[string]string{"IsCore": "true"},
- by URL, e.g. "https://github.com/OWNER/REPO"`},
}
var repoCloneCmd = &cobra.Command{