caseapp.core.help
package caseapp.core.help
Members list
Type members
Classlikes
case class CommandHelp(args: Seq[Arg], argsNameOption: Option[String], helpMessage: Option[HelpMessage])
Attributes
- Supertypes
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
object Help extends HelpCompanion
object HelpCompanion
Attributes
- Companion
- class
- Supertypes
- Self type
-
HelpCompanion.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]], namesLimit: Option[Int])
Attributes
- Companion
- object
- Supertypes
object HelpFormat
Attributes
- Companion
- class
- Supertypes
- Self type
-
HelpFormat.type
object PlatformUtil
Attributes
- Supertypes
- Self type
-
PlatformUtil.type
case class RuntimeCommandHelp[T](names: List[List[String]], help: Help[T], group: String, hidden: Boolean)
Attributes
- Supertypes
case class RuntimeCommandsHelp(progName: String, description: Option[String], defaultHelp: Help[_], commands: Seq[RuntimeCommandHelp[_]], summaryDesc: Option[String])
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Companion
- object
- Supertypes
object WithFullHelp extends WithFullHelpCompanion
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass WithFullHelpCompanionclass Objecttrait Matchableclass AnyShow all
- Self type
-
WithFullHelp.type
Attributes
- Supertypes
- Known subtypes
-
object WithFullHelp.type
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
Attributes
- Companion
- object
- Supertypes
object WithHelp extends WithHelpCompanion
In this article