Mage (
magefile.org and
github.com/magefile/mage) is getting support for arguments in targets and dependencies. I'd love some people running the
PR branch through its paces to make sure I haven't missed anything before landing it, since this is kind of a big change.
(tl;dr - you can pass args of type int, string, bool, time.Duration to targets as positional args on the CLI)
You can grab the branch by running
Then try adding mage targets with arguments. Note the new docs here:
And try making dependencies with arguments, also new docs here:
Comments on any and all of it, including docs, are most welcome!
Leave comments on
the PR or in this thread.
Thanks!
-Nate