package dev.openrs2.bundler import com.github.ajalt.clikt.core.CliktCommand import com.google.inject.Guice import java.nio.file.Paths fun main(args: Array) = BundleCommand().main(args) class BundleCommand : CliktCommand(name = "bundle") { override fun run() { val injector = Guice.createInjector(BundlerModule()) val bundler = injector.getInstance(Bundler::class.java) bundler.run(Paths.get("nonfree/code"), Paths.get("nonfree/code/bundle"), Paths.get("conf/loader.p12")) } }