blob: 0b5330dae33856adba314d56f07bce40c30b73c3 [file] [log] [blame]
package com.apigee.security.oas;
import com.google.inject.Guice;
import com.google.inject.Injector;
/**
* The main command line interface serves as the entry point that accepts arguments and performs
* argument validation, OpenAPI security validation, and rules enforcement.
*/
public final class CommandLineClient {
private CommandLineClient() {}
/**
* Creates an instance of {@link CommandLineRunner} and calls the {@link
* CommandLineRunner#run(String[])} method.
*/
public static void main(String[] args) {
Injector injector = Guice.createInjector(new CommandLineModule());
injector.getInstance(CommandLineRunner.class).run(args);
}
}