CliConfig

zio.cli.CliConfig
See theCliConfig companion object
final case class CliConfig(caseSensitive: Boolean, autoCorrectLimit: Int, finalCheckBuiltIn: Boolean, showAllNames: Boolean, showTypes: Boolean)

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
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isLongOption(value: String): Boolean
def isOption(value: String): Boolean

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product