Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument.
cmd/Cmd.cmdloop
Cmd.cmdloop