replServer.defineCommand(keyword, cmd)
keyword <String>
cmd <Object> | <Function>
Makes a command available in the REPL. The command is invoked by typing a . followed by the keyword. The cmd is an object with the following values:
help - help text to be displayed when .help is entered (Optional).
action - a function to execute, potentially taking in a string argument, when the command is invoked, bound to the REPLServer instance (Required).
If a function is provided