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

.mill-aliases_mill0.10_2.13.0.5.0.source-code.package.scala Maven / Gradle / Ivy

The newest version!
// 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]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy