First toolflow version

This commit is contained in:
2025-09-30 18:20:38 +02:00
parent b1bbd48d19
commit 2d48221e45
15 changed files with 305 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package com.minres.tgc.hammer
import com.minres.tgc.hammer.cli.{HammerConf, MySubcommand}
object Main {
def main(args: Array[String]): Unit = {
val conf = new HammerConf(args.toIndexedSeq)
conf.subcommand match {
case Some(c: MySubcommand) =>
val tasks = c.getRequiredTasks
tasks.foreach(_.validate())
tasks.foreach(_.execute())
case _ =>
}
}
}