All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy