com.appland.appmap.cli.CLI Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appmap-agent Show documentation
Show all versions of appmap-agent Show documentation
Inspect and record the execution of Java for use with App Land
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