Params.java 388 B

1234567891011121314
  1. package com.acdp.transceivr;
  2. import picocli.CommandLine;
  3. import java.io.File;
  4. public class Params {
  5. @CommandLine.Option(names = { "-p", "--port" }, description = "HTTP Server port", required = true)
  6. public int port = 8080;
  7. @CommandLine.Option(names = { "-w", "--webroot" }, description = "Use webroot from filesystem", defaultValue = "")
  8. public String webroot = "";
  9. }