code: private int doWork(String[] args) {
      if (args.length == 1) {
        CommandHandler handler = Command.getHandler(args[0]);
        if (handler != null) {
          return handler.doWork(this);
        }
      }
      printUsage();
      return -1;
    }
docs: Main method that runs the tool for given arguments.
  @param args arguments
  @return return status of the command