private Interface() {
}
public static void main(String[] args) {
List<CliSwitch> switches = new ArrayList<>();
switches.add(new CliSwitch("a", "auth", true, "Auth is required in the form username:api_key"));
switches.add(new CliSwitch("c", "command", true));
CliSwitch endpoint = new CliSwitch("e", "endpoint");
endpoint.setDefault("core");
switches.add(endpoint);
switches.add(new CliSwitch("p", "param"));
CliArguments parsedArgs = Parser.parse(args, switches);
Map<String, String> auth = parsedArgs.map("a");
if (auth == null || auth.size() == 0) {
System.out.println("Auth must be provided in the form '-a[uth] username api_key'");