All Downloads are FREE. Search and download functionalities are using the official Maven repository.

caseapp.core.help.WithFullHelp.scala Maven / Gradle / Ivy

There is a newer version: 2.1.0-M29
Show newest version
package caseapp.core.help

import caseapp.core.Error
import caseapp.{ExtraName, Group, HelpMessage, Recurse}
import caseapp.core.parser.Parser

final case class WithFullHelp[+T](
  @Recurse
  withHelp: WithHelp[T],
  @Group("Help")
  @HelpMessage("Print help message, including hidden options, and exit")
  @ExtraName("fullHelp")
  helpFull: Boolean = false
) {
  def map[U](f: T => U): WithFullHelp[U] =
    copy(withHelp = withHelp.map(f))
}

object WithFullHelp extends WithFullHelpCompanion




© 2015 - 2024 Weber Informatics LLC | Privacy Policy