org.monarchinitiative.phenol.cli.cmd.MondoDemoCommand Maven / Gradle / Ivy
package org.monarchinitiative.phenol.cli.cmd;
import org.monarchinitiative.phenol.cli.demo.MondoDemo;
import picocli.CommandLine;
import java.util.concurrent.Callable;
@CommandLine.Command(name = "mondo",
mixinStandardHelpOptions = true,
description = "MONDO demo")
public class MondoDemoCommand implements Callable {
@CommandLine.Option(names = {"-m", "--mondo"}, description = "path to mondo.obo file", required = true)
public String mondoPath;
@CommandLine.Option(names = {"-o", "--outfile"}, description = "name/path of output file", required = true)
public String outPath;
@Override
public Integer call() {
MondoDemo mondo = new MondoDemo(mondoPath, outPath);
mondo.run();
return 0;
}
}