Common subcommand naming scheme #208
|
@ -19,6 +19,7 @@ import (
|
|||
// CmdIssuesList represents a sub command of issues to list issues
|
||||
var CmdIssuesList = cli.Command{
|
||||
Name: "ls",
|
||||
Aliases: []string{"list"},
|
||||
Usage: "List issues of the repository",
|
||||
Description: `List issues of the repository`,
|
||||
Action: RunIssuesList,
|
||||
|
|
|
@ -18,6 +18,7 @@ import (
|
|||
// CmdLoginList represents to login a gitea server.
|
||||
var CmdLoginList = cli.Command{
|
||||
Name: "ls",
|
||||
Aliases: []string{"list"},
|
||||
Usage: "List Gitea logins",
|
||||
Description: `List Gitea logins`,
|
||||
Action: runLoginList,
|
||||
|
|
|
@ -19,6 +19,7 @@ import (
|
|||
// CmdMilestonesList represents a sub command of milestones to list milestones
|
||||
var CmdMilestonesList = cli.Command{
|
||||
Name: "ls",
|
||||
Aliases: []string{"list"},
|
||||
Usage: "List milestones of the repository",
|
||||
Description: `List milestones of the repository`,
|
||||
Action: RunMilestonesList,
|
||||
|
|
|
@ -19,6 +19,7 @@ import (
|
|||
// CmdPullsList represents a sub command of issues to list pulls
|
||||
var CmdPullsList = cli.Command{
|
||||
Name: "ls",
|
||||
Aliases: []string{"list"},
|
||||
Usage: "List pull requests of the repository",
|
||||
Description: `List pull requests of the repository`,
|
||||
Action: RunPullsList,
|
||||
|
|
|
@ -19,6 +19,7 @@ import (
|
|||
// CmdReleaseList represents a sub command of Release to list releases
|
||||
var CmdReleaseList = cli.Command{
|
||||
Name: "ls",
|
||||
Aliases: []string{"list"},
|
||||
Usage: "List Releases",
|
||||
Description: "List Releases",
|
||||
Action: RunReleasesList,
|
||||
|
|
|
@ -20,6 +20,7 @@ import (
|
|||
// CmdReposList represents a sub command of repos to list them
|
||||
var CmdReposList = cli.Command{
|
||||
Name: "ls",
|
||||
Aliases: []string{"list"},
|
||||
Usage: "List available repositories",
|
||||
Description: `List available repositories`,
|
||||
Action: RunReposList,
|
||||
|
|
Loading…
Reference in New Issue
Block a user