
caseapp.core.help.WithFullHelpCompanion.scala Maven / Gradle / Ivy
package caseapp.core.help
import caseapp.core.parser.Parser
import caseapp.{ExtraName, HelpMessage}
abstract class WithFullHelpCompanion {
implicit def parser[T: Parser]: Parser[WithFullHelp[T]] =
Parser.nil
.addAll[WithHelp[T]](using WithHelp.parser[T])
.add[Boolean](
"helpFull",
default = Some(false),
extraNames = Seq(ExtraName("fullHelp")),
helpMessage = Some(HelpMessage("Print help message, including hidden options, and exit"))
)
.as[WithFullHelp[T]]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy