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

coursier.cli.publish.options.SinglePackageOptions.scala Maven / Gradle / Ivy

There is a newer version: 2.1.13
Show newest version
package coursier.cli.publish.options

import caseapp._

final case class SinglePackageOptions(

  @Name("J")
    jar: Option[String] = None,

  @Name("P")
    pom: Option[String] = None,

  @Name("A")
  @ValueDescription("classifier:/path/to/file")
    artifact: List[String] = Nil,

  @HelpMessage("Force creation of a single package (default: true if --jar or --pom or --artifact specified, else false)")
    `package`: Option[Boolean] = None

)

object SinglePackageOptions {
  implicit val parser = Parser[SinglePackageOptions]
  implicit val help = caseapp.core.help.Help[SinglePackageOptions]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy