caseapp.core.help

Members list

Concise view

Type members

Classlikes

case class CommandHelp(args: Seq[Arg], argsNameOption: Option[String], helpMessage: Option[HelpMessage])

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Help[T](args: Seq[Arg], appName: String, appVersion: String, progName: String, argsNameOption: Option[String], optionsDesc: String, nameFormatter: Formatter[Name], helpMessage: Option[HelpMessage])

Provides usage and help messages related to T

Provides usage and help messages related to T

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object Help extends HelpCompanion

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Help.type

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class HelpCompanion

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Help.type
case class HelpFormat(progName: Attrs, commandName: Attrs, option: Attrs, newLine: String, sortGroups: Option[Seq[String] => Seq[String]], sortedGroups: Option[Seq[String]], hiddenGroups: Option[Seq[String]], sortCommandGroups: Option[Seq[String] => Seq[String]], sortedCommandGroups: Option[Seq[String]], hidden: Attrs, terminalWidthOpt: Option[Int], filterArgs: Option[Arg => Boolean], filterArgsWhenShowHidden: Option[Arg => Boolean], hiddenGroupsWhenShowHidden: Option[Seq[String]])

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
object HelpFormat

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
case class RuntimeCommandHelp[T](names: List[List[String]], help: Help[T], group: String, hidden: Boolean)

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
case class RuntimeCommandsHelp(progName: String, description: Option[String], defaultHelp: Help[_], commands: Seq[RuntimeCommandHelp[_]], summaryDesc: Option[String])

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
case class Table(lines: IndexedSeq[Seq[Str]])

Attributes

Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class WithFullHelp[+T](withHelp: WithHelp[T], helpFull: Boolean)

Attributes

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class WithFullHelpCompanion

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object WithFullHelp.type
final case class WithHelp[+T](usage: Boolean, help: Boolean, baseOrError: Either[Error, T])

Helper to add --usage and --help options to an existing type T.

Helper to add --usage and --help options to an existing type T.

Attributes

T:

type to which usage and help options are added

baseOrError:

parsed T in case of success, or error message else

help:

whether help was requested

usage:

whether usage was requested

Companion:
object
Graph
Supertypes
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
abstract class WithHelpCompanion

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object WithHelp.type
object WordUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type