Lecture 17
11
interpret (line 69)
•break command line into tokens (next slide)
•put first token into String variable visitor (77)
•use  if - else if - else if … logic
–if “exit” return false!  // leave loop in CLIlogin
–if “register”       // create account for new user
–if “help”            // give help
–else                    // input is a username
•look up User object in map, with username as key
•create a command shell for that User