code: private List<String> initCommand(){
          List<String> command = new ArrayList<String>();
          command.add(cmd);
          command.add("install");
          if (acceptLicense) {
              command.add("--acceptLicense");
          } else {
              command.add("--viewLicenseAgreement");
          }
          if (to != null) {
              command.add("--to=" + to);
          }
          if (from != null) {
              command.add("--from=" + from);
          }
          
          return command;
      }
docs: Generate a String list containing all the parameter for the command.
  @returns A List<String> containing the command to be executed.