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

coursier.cli.install.List.scala Maven / Gradle / Ivy

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

import caseapp.core.app.CaseApp
import caseapp.core.RemainingArgs
import coursier.install.Updatable

object List extends CaseApp[ListOptions] {
  def run(options: ListOptions, args: RemainingArgs): Unit = {
    val params = ListParams(options)
    val names = Updatable.list(params.installPath)
    System.err.print(names.map(_ + System.lineSeparator).mkString)
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy