diff --git a/cmd/commands/downloads/list/list.go b/cmd/commands/downloads/list/list.go index 1bbdd14..58c2796 100644 --- a/cmd/commands/downloads/list/list.go +++ b/cmd/commands/downloads/list/list.go @@ -18,7 +18,8 @@ var ( func Add(downloadsCmd *cobra.Command, globalOpts *options.GlobalOptions) { listCmd := &cobra.Command{ - Use: "list", + Use: "list", + Aliases: []string{"ls"}, Annotations: map[string]string{ "RequiresClient": "true", "RequiresRepository": "true", diff --git a/cmd/commands/pipelines/list/list.go b/cmd/commands/pipelines/list/list.go index a77f331..8ca8d36 100644 --- a/cmd/commands/pipelines/list/list.go +++ b/cmd/commands/pipelines/list/list.go @@ -20,9 +20,10 @@ const ( func Add(pipelinesCmd *cobra.Command, globalOpts *options.GlobalOptions) { listCmd := &cobra.Command{ - Use: "list", - Short: "List pipeline executions this repository", - Long: "List pipeline executions this repository", + Use: "list", + Aliases: []string{"ls"}, + Short: "List pipeline executions this repository", + Long: "List pipeline executions this repository", Annotations: map[string]string{ "RequiresClient": "true", "RequiresRepository": "true", diff --git a/cmd/commands/pr/list/list.go b/cmd/commands/pr/list/list.go index 5a23006..d98c806 100644 --- a/cmd/commands/pr/list/list.go +++ b/cmd/commands/pr/list/list.go @@ -20,9 +20,10 @@ var ( func Add(prCmd *cobra.Command, globalOpts *options.GlobalOptions) { listCmd := &cobra.Command{ - Use: "list", - Short: "List and filter pull requests in this repository", - Long: "List and filter pull requests in this repository", + Use: "list", + Aliases: []string{"ls"}, + Short: "List and filter pull requests in this repository", + Long: "List and filter pull requests in this repository", Annotations: map[string]string{ "RequiresClient": "true", "RequiresRepository": "true",