Packages

p

fmv1992

scala_cli_parser

package scala_cli_parser

Provide a config file based CLI parsing library.

Steps to do that:

  1. Define your .conf file. See the syntax here (ParserConfigFile).
  2. Get a CLI parser from the the conf parser (ParserConfigFile).
  3. Apply the CLI parser to a given command line flags.

Public entities:

  1. fmv1992.scala_cli_parser.conf.ParserConfigFile.
    1. Which outputs fmv1992.scala_cli_parser.cli.ParserCLI.
      1. Which uses fmv1992.scala_cli_parser.cli.ArgumentConf.
        1. Which uses ("private trait Argument escapes its defining scope as part of type...") fmv1992.scala_cli_parser.cli.Argument.
      2. Which ouputs fmv1992.scala_cli_parser.cli.ArgumentCLI.
  2. fmv1992.scala_cli_parser.ParseException (not really used at the moment).
Linear Supertypes
AnyRef, Any

Package Members

  1. package cli
  2. package conf
  3. package util

Type Members

  1. case class ParsedResult[A, +B](data: A, result: B) extends Product with Serializable
  2. trait Parser[-A, +B] extends AnyRef
  3. trait ParserPartial[A <: Seq[_], +B] extends AnyRef
  4. case class ParserPartialImpl[A <: Seq[_], +B](_partialParse: (A) => (A, B)) extends ParserPartial[A, B] with Parser[A, B] with Product with Serializable
  5. trait ParserWithTry[A, +B] extends Parser[A, Try[B]]
  6. case class ParserWithTryImpl[A, +B](_transform: (A) => B) extends ParserWithTry[A, B] with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped