Skip to content

Commit

Permalink
Add alias to list and listall
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu committed Mar 21, 2018
1 parent 3d9e08a commit e428dc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/cli/workflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ func newWorkflowCommands() []cli.Command {
},
{
Name: "list",
Aliases: []string{"l"},
Usage: "list open or closed workflow executions",
Description: "list one page (default size 10 items) by default, use flag --pagesize to change page size",
Flags: []cli.Flag{
Expand Down Expand Up @@ -275,8 +276,9 @@ func newWorkflowCommands() []cli.Command {
},
},
{
Name: "listall",
Usage: "list all open or closed workflow executions",
Name: "listall",
Aliases: []string{"la"},
Usage: "list all open or closed workflow executions",
Flags: []cli.Flag{
cli.BoolFlag{
Name: FlagOpenWithAlias,
Expand Down

0 comments on commit e428dc3

Please sign in to comment.