public class Command extends Object
Modifier and Type | Field and Description |
---|---|
String[] |
args |
static HashMap<String,Object> |
defaultValues |
Boolean |
help |
HashMap<String,Object> |
opts |
Modifier and Type | Method and Description |
---|---|
Command |
addRule(String name,
Class argType,
String description) |
Command |
addRule(String name,
String description) |
static Command |
create() |
static Command |
create(String appName) |
static void |
error(String message,
Object... args) |
org.apache.commons.cli.Options |
getRules() |
Command |
init() |
Command |
load(String path) |
Command |
parse(String[] argv) |
void |
printHelp() |
static Command |
splunk() |
static Command |
splunk(String appName) |
Command |
splunkrc() |
Copyright © 2022 Splunk, Inc.. All rights reserved.