.mill-aliases_mill0.12.0-RC1_2.13.0.5.0.source-code.package.scala Maven / Gradle / Ivy
// Define packageless commands for easy access
import com.carlosedp.aliases.Discover._
import com.carlosedp.aliases._
import mainargs.arg
import mill._
import mill.define.ExternalModule
import mill.eval.Evaluator
object Alias extends ExternalModule {
def run(ev: Evaluator, @arg(positional = true) alias: String) = T.command {
AliasesModule.run(ev, alias)
}
def list(ev: Evaluator) = T.command(AliasesModule.list(ev))
def help() = T.command(AliasesModule.help())
lazy val millDiscover: mill.define.Discover[this.type] =
mill.define.Discover[this.type]
}