com.appland.appmap.cli.CLI Maven / Gradle / Ivy
package com.appland.appmap.cli;
import picocli.CommandLine;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
@CommandLine.Command()
public class CLI {
private static final Object STDOUT_CONST = new Object();
@CommandLine.Option(names = { "-d", "--directory" }, description = "Project directory", required = true)
public String directory;
@CommandLine.Option(names = { "-o", "--output-file" }, description = "File to receive the output. Default: stdout")
public Object outputFileName = STDOUT_CONST;
Map