open class CLIConfigurator
Class responsible for defining CLI using annotations and injecting values extracted by the parser.
Author
Clement Escoffier
CLIConfigurator()
Class responsible for defining CLI using annotations and injecting values extracted by the parser. |
open static fun define(clazz: Class<*>): CLI
Creates an instance of the given class, and extracts the metadata from the given class. |
|
open static fun inject(cli: CommandLine, object: Any): Unit
Injects the value in the annotated setter methods (Option and Argument. |