package scala_cli_parser
Provide a config file based CLI parsing library.
Steps to do that:
- Define your
.conf
file. See the syntax here (ParserConfigFile). - Get a CLI parser from the the conf parser (ParserConfigFile).
- Apply the CLI parser to a given command line flags.
Public entities:
- fmv1992.scala_cli_parser.conf.ParserConfigFile.
- Which outputs fmv1992.scala_cli_parser.cli.ParserCLI.
- Which uses fmv1992.scala_cli_parser.cli.ArgumentConf.
- Which uses ("private trait Argument escapes its defining scope as part of type...") fmv1992.scala_cli_parser.cli.Argument.
- Which ouputs fmv1992.scala_cli_parser.cli.ArgumentCLI.
- Which uses fmv1992.scala_cli_parser.cli.ArgumentConf.
- Which outputs fmv1992.scala_cli_parser.cli.ParserCLI.
- fmv1992.scala_cli_parser.ParseException (not really used at the moment).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- scala_cli_parser
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- case class ParsedResult[A, +B](data: A, result: B) extends Product with Serializable
- trait Parser[-A, +B] extends AnyRef
- trait ParserPartial[A <: Seq[_], +B] extends AnyRef
- case class ParserPartialImpl[A <: Seq[_], +B](_partialParse: (A) => (A, B)) extends ParserPartial[A, B] with Parser[A, B] with Product with Serializable
- trait ParserWithTry[A, +B] extends Parser[A, Try[B]]
- case class ParserWithTryImpl[A, +B](_transform: (A) => B) extends ParserWithTry[A, B] with Product with Serializable
Value Members
- object Main extends MainTestableConfBased