| 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); |
| } |
| } |