Packages

package core

Core types / classes of caseapp.

Not that in most use cases of caseapp, simply importing things right under caseapp, rather things from caseapp.core, should be enough.

This package is itself split in several sub-packages:

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. core
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package app
  2. package argparser

    Things related to parsing a single argument.

    Things related to parsing a single argument.

    Mostly revolves around caseapp.core.argparser.ArgParser.

  3. package commandparser

    Command parsing-related things.

  4. package complete
  5. package default
  6. package help
  7. package parser

    All-the-arguments parsing stuff.

    All-the-arguments parsing stuff.

    Mostly revolves around caseapp.core.parser.Parser.

  8. package util

Type Members

  1. final case class Arg(name: Name, extraNames: Seq[Name], valueDescription: Option[ValueDescription], helpMessage: Option[HelpMessage], noHelp: Boolean, isFlag: Boolean, group: Option[Group], origin: Option[String], tags: Seq[Tag]) extends Product with Serializable

    Infos about an argument / option an application can accept.

  2. sealed abstract class Counter extends AnyRef

    Helper to count how many times a flag argument is specified.

    Helper to count how many times a flag argument is specified.

    Should be used with Int and caseapp.@@, like Int @@ Counter.

  3. sealed abstract class Error extends Product with Serializable

    Base type for errors during arguments parsing

  4. final case class Indexed[+T](index: Int, length: Int, value: T) extends Product with Serializable
  5. final case class RemainingArgs(indexedRemaining: Seq[Indexed[String]], indexedUnparsed: Seq[Indexed[String]]) extends Product with Serializable

    Arguments that don't correspond to options.

Value Members

  1. object Arg extends Serializable
  2. object Error extends Serializable
  3. object Indexed extends Serializable
  4. object RemainingArgs extends Serializable
  5. object Scala3Helpers

Inherited from AnyRef

Inherited from Any

Ungrouped