System.exit(1);
}
}
static void run(String[] args) throws IOException {
Command command = Command.splunk("search");
command.addRule("earliest_time", String.class, earliestTimeText);
command.addRule("field_list", String.class, fieldListText);
command.addRule("latest_time", String.class, latestTimeText);
command.addRule("output_mode", String.class, outputModeText);
command.addRule("raw", Integer.class, rawText);
command.addRule("status_buckets", Integer.class, statusBucketsText);
command.parse(args);
if (command.args.length != 1)
Command.error("Search expression required");
String query = command.args[0];