Class ExampleExecutor
java.lang.Object
com.github.rvesse.airline.examples.ExampleExecutor
Helper class that launches and runs the actual example commands and CLIs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends ExampleRunnable>
voidexecute
(T cmd) static <T extends ExampleRunnable>
voidexecuteCli
(Cli<T> cli, String[] args) static <T extends ExampleRunnable>
voidexecuteSingleCommand
(Class<T> cls, ParserMetadata<T> parserConfig, String[] args) static <T extends ExampleRunnable>
voidexecuteSingleCommand
(Class<T> cls, String[] args)
-
Constructor Details
-
ExampleExecutor
public ExampleExecutor()
-
-
Method Details
-
execute
-
executeSingleCommand
-
executeSingleCommand
public static <T extends ExampleRunnable> void executeSingleCommand(Class<T> cls, ParserMetadata<T> parserConfig, String[] args) -
executeCli
-