caseapp.core.help

Type members

Classlikes

case class CommandHelp(args: Seq[Arg], argsNameOption: Option[String], helpMessage: Option[HelpMessage])
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

Companion:
object
object Help extends HelpCompanion
Companion:
class
Companion:
class
abstract class HelpCompanion
Companion:
object
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])
Companion:
object
object HelpFormat
Companion:
class
case class RuntimeCommandHelp[T](names: List[List[String]], help: Help[T], group: String, hidden: Boolean)
case class RuntimeCommandsHelp(progName: String, description: Option[String], defaultHelp: Help[_], commands: Seq[RuntimeCommandHelp[_]], summaryDesc: Option[String])
case class Table(lines: IndexedSeq[Seq[Str]])
final case class WithFullHelp[T](withHelp: WithHelp[T], helpFull: Boolean)
Companion:
object
Companion:
class
abstract class WithFullHelpCompanion
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.

Type parameters:
T:

type to which usage and help options are added

Value parameters:
baseOrError:

parsed T in case of success, or error message else

help:

whether help was requested

usage:

whether usage was requested

Companion:
object
Companion:
class
abstract class WithHelpCompanion
object WordUtils