docs: public CommandLine parseArgs(final String[] args) throws CLIToolOptionsException {
          final CommandLine line = super.parseArgs(args);
          if (args.length > 0 && !args[0].startsWith("-")) {
              try {
                  action = Actions.valueOf(args[0]);
              } catch (IllegalArgumentException e) {
                  throw new CLIToolOptionsException(
                          "Invalid action: " + args[0] + ", must be one of: " + Arrays.toString(
                                  Actions.values()
                          )
                  );
              }
          }
          if (line.hasOption("h")) {
              help();
              exit(1);
          }
          return line;
      }