forked from TrueCloudLab/frostfs-node
[#521] cli: Add common aliases to policy playground commands
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>bugfix/542-fix-sizeinbytessafe
parent
24dffdac6f
commit
57e7fb5ccf
|
@ -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); ; {
|
||||
|
|
Loading…
Reference in New Issue