au.csiro.variantspark.cli.VersionCmd.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of variant-spark_2.11 Show documentation
Show all versions of variant-spark_2.11 Show documentation
Genomic variants interpretation toolkit
The newest version!
package au.csiro.variantspark.cli
import au.csiro.pbdava.ssparkle.common.arg4j.{AppRunner, TestArgs}
import au.csiro.pbdava.ssparkle.common.utils.VersionInfo
import au.csiro.sparkle.common.args4j.ArgsApp
class VersionCmd extends ArgsApp with TestArgs /* with SparkApp */ {
override def run(): Unit = {
println(s"Version: ${VersionInfo.version}")
println("Details:")
VersionInfo.gitProperties.map({ case (k, v) => s"$k = $v" }).foreach(println)
}
override def testArgs: Array[String] = Array.empty
}
object VersionCmd {
def main(args: Array[String]) {
AppRunner.mains[VersionCmd](args)
}
}