Update repo
This commit is contained in:
parent
a6948423f4
commit
8979c0ce41
3 changed files with 12 additions and 7 deletions
|
|
@ -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`,
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue