From f520630d19b52d745a84c46aec0b03266dcd8d12 Mon Sep 17 00:00:00 2001 From: Bowei Xu Date: Wed, 21 Mar 2018 15:39:24 -0700 Subject: [PATCH] Add alias to list and listall --- tools/cli/workflow.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/cli/workflow.go b/tools/cli/workflow.go index e5fb29f55b5..11d354d41c4 100644 --- a/tools/cli/workflow.go +++ b/tools/cli/workflow.go @@ -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{ @@ -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,