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

scala.cli.commands.shared.MarkdownOptions.scala Maven / Gradle / Ivy

The newest version!
package scala.cli.commands.shared

import caseapp.*

import scala.cli.commands.tags

// format: off
final case class MarkdownOptions(
  @Group(HelpGroup.Markdown.toString)
  @Tag(tags.experimental)
  @HelpMessage("Enable markdown support.")
  @Name("md")
  @Name("markdown")
    enableMarkdown: Boolean = false // TODO: add a separate scope for Markdown and remove this option once it's stable
)
// format: on

object MarkdownOptions {
  implicit lazy val parser: Parser[MarkdownOptions] = Parser.derive
  implicit lazy val help: Help[MarkdownOptions]     = Help.derive
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy