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

coursier.cli.publish.options.RepositoryOptions.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 RepositoryOptions(

  @Name("r")
  @Name("repo")
  @Name("dest")
    repository: Option[String] = None,

  @HelpMessage("Repository to read maven-metadata.xml files from")
    readFrom: Option[String] = None,

  auth: Option[String] = None,

  sonatype: Option[Boolean] = None,

  github: Option[String] = None,

  bintray: Option[String] = None,
  bintrayApiKey: Option[String] = None,
  bintrayLicense: List[String] = Nil,
  bintrayVcsUrl: Option[String] = None,

  snapshotVersioning: Boolean = true

) {
  override def toString: String =
    copy(auth = auth.map(_ => "****"))
      .productIterator
      .mkString("RepositoryOptions(", ", ", ")")
}

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy