code: public static Command getCommand(String commandName, boolean forceCreate) {
          return CommandRegistry.getInstance().get(commandName, forceCreate);
      }
docs: Returns a command from the command registry.
  
  @param commandName Name of the command.
  @param forceCreate If true and the named command does not exist, one will be created and
  added to the command registry.
  @return The command object corresponding to the specified command name.