static FuzzOneConfig parse(String[] args) throws ParseException {
            CommandLineParser parser = new DefaultParser();
            CommandLine commandLine = parser.parse(OPTIONS, args);
            FuzzOneConfig config = new FuzzOneConfig();
            config.inputFile = Paths.get(commandLine.getOptionValue("i"));
            config.outputFileBase = Paths.get(commandLine.getOptionValue("o"));
            config.perFileIterations = Integer.parseInt(commandLine.getOptionValue("p"));
            config.maxTransformers = Integer.parseInt(commandLine.getOptionValue("t"));
            config.threadNum = Integer.parseInt(commandLine.getOptionValue("n"));
            config.retryNum = Integer.parseInt(commandLine.getOptionValue("r"));
            config.timeoutMs = Integer.parseInt(commandLine.getOptionValue("m"));
            return config;
        }
Forked process that runs against a single input file
tika-fuzzing/src/main/java/org/apache/tika/fuzzing/cli/FuzzOne.java