From 57e7fb5ccfec50de5675ff2a0d9f421428004a7b Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Date: Mon, 17 Jul 2023 10:23:51 +0300 Subject: [PATCH] [#521] cli: Add common aliases to policy playground commands Signed-off-by: Alejandro Lopez --- cmd/frostfs-cli/modules/container/policy_playground.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/frostfs-cli/modules/container/policy_playground.go b/cmd/frostfs-cli/modules/container/policy_playground.go index 7e9d72a0..1ac41f08 100644 --- a/cmd/frostfs-cli/modules/container/policy_playground.go +++ b/cmd/frostfs-cli/modules/container/policy_playground.go @@ -183,10 +183,12 @@ func (repl *policyPlaygroundREPL) run() error { } cmdHandlers := map[string]func([]string) error{ + "list": repl.handleLs, "ls": repl.handleLs, "add": repl.handleAdd, "load": repl.handleLoad, "remove": repl.handleRemove, + "rm": repl.handleRemove, "eval": repl.handleEval, } for reader := bufio.NewReader(os.Stdin); ; {