dev.jbang.cli.FormatMixin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbang-cli Show documentation
Show all versions of jbang-cli Show documentation
JBang Command Line Interface
package dev.jbang.cli;
import picocli.CommandLine;
public class FormatMixin {
public enum Format {
text, json
}
@CommandLine.Option(names = {
"--format" }, description = "Specify output format ('text' or 'json')")
protected Format format;
}