Mage v1.11.0 supports taking positional arguments for targets that have arguments of type int, bool, string, or time.Duration. For example, if your magefile contains this target:
func Build(what string) {you can run it by running
$ mage build serverYou can also use functions that have those same types of arguments as dependencies by using the mg.F function:
func Deploy(what string) {