zio.cli
Members list
Packages
Type members
Classlikes
A Args represents arguments that can be passed to a command-line application.
Attributes
- Companion
- trait
- Source
- Args.scala
- Supertypes
- Self type
-
Args.type
Attributes
- Companion
- object
- Source
- BuiltInOption.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Source
- BuiltInOption.scala
- Supertypes
- Self type
-
BuiltInOption.type
A CliApp[R, E] is a complete description of a command-line application, which requires environment R, and may fail with a value of type E.
A CliApp[R, E] is a complete description of a command-line application, which requires environment R, and may fail with a value of type E.
Attributes
- Companion
- object
- Source
- CliApp.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Attributes
- Companion
- trait
- Source
- CliApp.scala
- Supertypes
- Self type
-
CliApp.type
A CliConfig describes how arguments from the command-line are to be parsed by ZIO CLI.
A CliConfig describes how arguments from the command-line are to be parsed by ZIO CLI.
Value parameters
- autoCorrectLimit
-
Threshold for when to show auto correct suggestions.
- caseSensitive
-
Whether or not to be case sensitive.
- finalCheckBuiltIn
-
Whether or not to check for a BuiltIn option even if it is not a valid command.
- showAllNames
-
Whether or not to show all the names of an option in the synopsis of a command.
- showTypes
-
Whether or not to show the type of an option in the synopsis of a command.
Attributes
- Companion
- object
- Source
- CliConfig.scala
- Supertypes
Attributes
- Companion
- class
- Source
- CliConfig.scala
- Supertypes
- Self type
-
CliConfig.type
Attributes
- Companion
- trait
- Source
- CliError.scala
- Supertypes
- Self type
-
CliError.type
A Command represents a command in a command-line application. Every command-line application will have at least one command: the application it Other command-line applications may support multiple commands.
A Command represents a command in a command-line application. Every command-line application will have at least one command: the application it Other command-line applications may support multiple commands.
Attributes
- Companion
- object
- Source
- Command.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
-
Command[A]
Attributes
- Companion
- trait
- Source
- Command.scala
- Supertypes
- Self type
-
Command.type
Attributes
- Companion
- trait
- Source
- CommandDirective.scala
- Supertypes
- Self type
-
CommandDirective.type
Attributes
- Companion
- object
- Source
- CommandDirective.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BuiltInclass UserDefined[A]
- Self type
Describes whether the command-line application wants a file/directory to exist or not exist.
Describes whether the command-line application wants a file/directory to exist or not exist.
Attributes
- Companion
- object
- Source
- Exists.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- Exists.scala
- Supertypes
- Self type
-
Exists.type
Attributes
- Companion
- trait
- Source
- HelpDoc.scala
- Supertypes
- Self type
-
HelpDoc.type
A HelpDoc models the full documentation for a command-line application.
A HelpDoc models the full documentation for a command-line application.
HelpDoc is composed of optional header and footers, and in-between, a list of HelpDoc-level content items.
HelpDoc-level content items, in turn, can be headers, paragraphs, description lists, and enumerations.
A HelpDoc can be converted into plaintext, JSON, and HTML.
Attributes
- Companion
- object
- Source
- HelpDoc.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class DescriptionListobject Emptyclass Enumerationclass Headerclass Paragraphclass SequenceShow all
- Self type
Attributes
- Companion
- trait
- Source
- Options.scala
- Supertypes
- Self type
-
Options.type
A Flag[A] models a command-line flag that produces a value of type A.
A Flag[A] models a command-line flag that produces a value of type A.
Attributes
- Companion
- object
- Source
- Options.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
-
Options[A]
Describes whether the command-line application wants a path to be a file or a directory.
Describes whether the command-line application wants a path to be a file or a directory.
Attributes
- Companion
- object
- Source
- PathType.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- PathType.scala
- Supertypes
- Self type
-
PathType.type
A PrimType represents the primitive types supported by ZIO CLI.
A PrimType represents the primitive types supported by ZIO CLI.
Each primitive type has a way to parse and validate from a string.
Attributes
- Companion
- object
- Source
- PrimType.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Boolobject Decimalobject Durationclass Enumeration[A]object Instantobject Integerobject LocalDateobject LocalDateTimeobject LocalTimeobject MonthDayobject OffsetDateTimeobject OffsetTimeclass Pathobject Periodobject Textobject Yearobject YearMonthobject ZoneIdobject ZoneOffsetobject ZonedDateTimeShow all
- Self type
-
PrimType[A]
Attributes
- Companion
- trait
- Source
- PrimType.scala
- Supertypes
- Self type
-
PrimType.type
Attributes
- Companion
- object
- Source
- Reducable.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- Reducable.scala
- Supertypes
- Self type
-
Reducable.type
Attributes
- Source
- Reducable.scala
- Supertypes
- Known subtypes
-
object Reducable
Attributes
- Source
- Reducable.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ReducableLowPriority1object Reducable
Attributes
- Companion
- object
- Source
- ShellType.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Source
- ShellType.scala
- Supertypes
- Self type
-
ShellType.type
Attributes
- Source
- Options.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Source
- UsageSynopsis.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
- Self type
Attributes
- Companion
- trait
- Source
- UsageSynopsis.scala
- Supertypes
- Self type
-
UsageSynopsis.type
Attributes
- Source
- Validation.scala
- Supertypes
Attributes
- Companion
- trait
- Source
- Validation.scala
- Supertypes
- Self type
-
ValidationErrorType.type
Attributes
- Companion
- object
- Source
- Validation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object CommandMismatchobject CorrectedFlagobject InvalidArgumentobject InvalidValueclass KeyValuesDetectedobject MissingFlagobject MissingSubCommandobject MissingValueobject NoBuiltInMatchclass UnclusteredFlagShow all
Attributes
- Companion
- class
- Source
- Wizard.scala
- Supertypes
- Self type
-
Wizard.type
Wizard controls the representation of the Wizard Mode triggered by "--wizard" command.
Wizard controls the representation of the Wizard Mode triggered by "--wizard" command.
Attributes
- Companion
- object
- Source
- Wizard.scala
- Supertypes
Attributes
- Source
- ZIOCli.scala
- Supertypes
- Known subtypes
-
trait ZIOCliDefault
Attributes
- Source
- ZIOCliDefault.scala
- Supertypes