Help test arg support in Mage

46 views
Skip to first unread message

Nate Finch

unread,
Dec 28, 2020, 8:38:47 AM12/28/20
to golang-nuts
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

Reply all
Reply to author
Forward
0 new messages