optparse_applicative.types
package optparse_applicative.types
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptTree[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parser[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptReader[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parser[B]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object CReader
case class CmdReader[A](ns: List[String], f: String => Option[ParserInfo[A]]) extends OptReader[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptReader[A]class Objecttrait Matchableclass AnyShow all
object Doc
case class ErrorMsg(msg: String) extends ParseError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ParseErrorclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ExitFailureobject ExitSuccess
case class ExitFailure(code: Int) extends ExitCode
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExitCodeclass Objecttrait Matchableclass AnyShow all
case object ExitSuccess extends ExitCode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ExitCodeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ExitSuccess.type
case class Failure[A](failure: ParserFailure[ParserHelp]) extends ParserResult[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ParserResult[A]class Objecttrait Matchableclass AnyShow all
case class FlagReader[A](ns: List[OptName], a: A) extends OptReader[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptReader[A]class Objecttrait Matchableclass AnyShow all
case object Hidden extends OptVisibility
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait OptVisibilitytrait Ordered[OptVisibility]trait Comparable[OptVisibility]class Objecttrait Matchableclass AnyShow all
- Self type
-
Hidden.type
case class InfoMsg(msg: String) extends ParseError
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ParseErrorclass Objecttrait Matchableclass AnyShow all
case object Internal extends OptVisibility
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait OptVisibilitytrait Ordered[OptVisibility]trait Comparable[OptVisibility]class Objecttrait Matchableclass AnyShow all
- Self type
-
Internal.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptTree[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptTree[A]class Objecttrait Matchableclass AnyShow all
object MultP
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parser[A]class Objecttrait Matchableclass AnyShow all
A single option of a parser.
A single option of a parser.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object Opt
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptNameclass Objecttrait Matchableclass AnyShow all
object OptName
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Parser[A]class Objecttrait Matchableclass AnyShow all
final case class OptProperties(visibility: OptVisibility, help: Chunk[Doc], metaVar: String, showDefault: Option[String])
Specification for an individual parser option.
Specification for an individual parser option.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object OptReader
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptNameclass Objecttrait Matchableclass AnyShow all
sealed trait OptVisibility extends Ordered[OptVisibility]
Attributes
- Supertypes
- Known subtypes
case class OptionReader[A](ns: List[OptName], cr: CReader[A], e: ParseError) extends OptReader[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OptReader[A]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
object ParseError
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParseError.type
object Parser
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ParserFailure
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParserFailure.type
A full description for a runnable Parser for a program.
A full description for a runnable Parser for a program.
Value parameters
- failureCode
-
exit code for a parser failure
- fullDesc
-
whether the help text should contain full documentation
- parser
-
the option parser for the program
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ParserInfo
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ParserInfo.type
object ParserM
final case class ParserPrefs(multiSuffix: String, disambiguate: Boolean, showHelpOnError: Boolean, backtrack: Boolean, columns: Int)
Value parameters
- backtrack
-
backtrack to parent parser when a subcommand fails
- columns
-
format the help page
- disambiguate
-
automatically disambiguate abbreviations
- multiSuffix
-
metavar suffix for multiple options
- showHelpOnError
-
show help text on parse errors
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A newtype over the Either monad used by option readers.
A newtype over the Either monad used by option readers.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object ReadM
case object ShowHelpText extends ParseError
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ParseErrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
ShowHelpText.type
case class Success[A](a: A) extends ParserResult[A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ParserResult[A]class Objecttrait Matchableclass AnyShow all
case object UnknownError extends ParseError
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait ParseErrorclass Objecttrait Matchableclass AnyShow all
- Self type
-
UnknownError.type
case object Visible extends OptVisibility
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait OptVisibilitytrait Ordered[OptVisibility]trait Comparable[OptVisibility]class Objecttrait Matchableclass AnyShow all
- Self type
-
Visible.type
Types
In this article