Set core root commands
This commit is contained in:
parent
51353c79d6
commit
0af61bee90
3 changed files with 6 additions and 4 deletions
|
|
@ -56,6 +56,7 @@ var issueCmd = &cobra.Command{
|
|||
An issue can be supplied as argument in any of the following formats:
|
||||
- by number, e.g. "123"; or
|
||||
- by URL, e.g. "https://github.com/OWNER/REPO/issues/123".`,
|
||||
Annotations: map[string]string{"IsCore": "true"},
|
||||
}
|
||||
var issueCreateCmd = &cobra.Command{
|
||||
Use: "create",
|
||||
|
|
|
|||
|
|
@ -54,12 +54,12 @@ A pull request can be supplied as argument in any of the following formats:
|
|||
- by number, e.g. "123";
|
||||
- by URL, e.g. "https://github.com/OWNER/REPO/pull/123"; or
|
||||
- by the name of its head branch, e.g. "patch-1" or "OWNER:patch-1".`,
|
||||
Annotations: map[string]string{"IsCore": "true"},
|
||||
}
|
||||
var prListCmd = &cobra.Command{
|
||||
Use: "list",
|
||||
Short: "List and filter pull requests in this repository",
|
||||
RunE: prList,
|
||||
Annotations: map[string]string{"IsCore": "true"},
|
||||
Use: "list",
|
||||
Short: "List and filter pull requests in this repository",
|
||||
RunE: prList,
|
||||
}
|
||||
var prStatusCmd = &cobra.Command{
|
||||
Use: "status",
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ var repoCmd = &cobra.Command{
|
|||
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"},
|
||||
}
|
||||
|
||||
var repoCloneCmd = &cobra.Command{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue