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

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

There is a newer version: 1.5.0
Show newest version
package scala.cli.commands.shared

enum HelpGroup:
  case Benchmarking, BSP, BuildToolExport,
    Config, Compilation, CompilationServer,
    Debian, Debug, Default, Dependency, Doc, Docker,
    Entrypoint,
    Format,
    Help,
    Install,
    Java,
    Launcher, LegacyScalaRunner, Logging,
    MacOS, Markdown,
    NativeImage,
    Package, PGP, ProjectVersion, Publishing,
    RedHat, Repl, Run, Runner,
    Scala, ScalaJs, ScalaNative, Secret, Signing, SuppressWarnings, SourceGenerator,
    Test,
    Uninstall, Update,
    Watch, Windows,
    Version

  override def toString: String = this match
    case BuildToolExport   => "Build Tool export"
    case CompilationServer => "Compilation server"
    case LegacyScalaRunner => "Legacy Scala runner"
    case NativeImage       => "Native image"
    case ScalaJs           => "Scala.js"
    case ScalaNative       => "Scala Native"
    case SuppressWarnings  => "Suppress warnings"
    case SourceGenerator   => "Source generator"
    case ProjectVersion    => "Project version"
    case e                 => e.productPrefix

enum HelpCommandGroup:
  case Main, Miscellaneous, Undefined
  override def toString: String = this match
    case Undefined => ""
    case e         => e.productPrefix




© 2015 - 2024 Weber Informatics LLC | Privacy Policy