invoke

abstract operator fun invoke(args: Array<String>, flags: Flags, cancellationToken: CancellationToken): StepResult

Invoke the interactive component. Any arguments can be specified with args, as well as flags. A cancellationToken can be specified to allow cancellation. Returns a StepResult.