PT - Type of parameters object.@FunctionalInterface public interface CliEntry<PT>
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(PT params,
CliInvocationEnv env)
Entry point of a CLI.
|
void invoke(PT params, CliInvocationEnv env) throws Exception
params - Parsed parameters objectenv - Invocation environmentException - all exceptions are expected to be propagated