[#521] Add netmap load command to policy playground #522
1 changed files with 2 additions and 0 deletions
|
@ -166,10 +166,12 @@ func (repl *policyPlaygroundREPL) run() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmdHandlers := map[string]func([]string) error{
|
cmdHandlers := map[string]func([]string) error{
|
||||||
|
"list": repl.handleLs,
|
||||||
"ls": repl.handleLs,
|
"ls": repl.handleLs,
|
||||||
"add": repl.handleAdd,
|
"add": repl.handleAdd,
|
||||||
fyrchik marked this conversation as resolved
Outdated
|
|||||||
"load": repl.handleLoad,
|
"load": repl.handleLoad,
|
||||||
"remove": repl.handleRemove,
|
"remove": repl.handleRemove,
|
||||||
|
"rm": repl.handleRemove,
|
||||||
"eval": repl.handleEval,
|
"eval": repl.handleEval,
|
||||||
}
|
}
|
||||||
for reader := bufio.NewReader(os.Stdin); ; {
|
for reader := bufio.NewReader(os.Stdin); ; {
|
||||||
|
|
Loading…
Reference in a new issue
Again, seems unrelated to the commit, could you move it to a separate commit?
done