zio.cli.Wizard
See theWizard companion object
Wizard controls the representation of the Wizard Mode triggered by "--wizard" command.
Attributes
- Companion
- object
- Source
- Wizard.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
def chooseParam(param: Alternatives, invalidInput: Option[String] = ..., needHelp: Boolean = ...): IO[WizardException, (List[String], Parameter)]
Allows the user choosing between different options represented by Alternatives trait.
Allows the user choosing between different options represented by Alternatives trait.
Attributes
- Source
- Wizard.scala
Entry point for Wizard mode.
Constructs a command interacting with the user.
def inputParam(param: Input, invalidInput: Option[String] = ..., needHelp: Boolean = ...): IO[WizardException, List[String]]
Allows the user enterin the value of a parameter represented by Input trait.
Allows the user enterin the value of a parameter represented by Input trait.
Attributes
- Source
- Wizard.scala
Prints resulting command constructed by Wizard Mode.
Prints information about option, help and if an input of the user was invalid.
Prints information about option, help and if an input of the user was invalid.
Attributes
- Source
- Wizard.scala
In this article