vertx / io.vertx.core.cli.annotations / CLIConfigurator / inject

inject

open static fun inject(cli: CommandLine, object: Any): Unit

Injects the value in the annotated setter methods (Option and Argument.

Parameters

cli - the cli

object - the object to be injected

Exceptions

CLIException - if an injection issue occurred.