final repo command cleanup

This commit is contained in:
vilmibm 2020-07-27 14:09:07 -05:00
parent 9359dcaf80
commit 29f4453e07
2 changed files with 9 additions and 8 deletions

View file

@ -1,23 +0,0 @@
package command
import (
"github.com/MakeNowJust/heredoc"
"github.com/spf13/cobra"
)
var repoCmd = &cobra.Command{
Use: "repo <command>",
Short: "Create, clone, fork, and view repositories",
Long: `Work with GitHub repositories`,
Example: heredoc.Doc(`
$ 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"`},
}