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 
<https://github.com/magefile/mage/pull/326> 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
go get github.com/magefile/mage@nargs

Then try adding mage targets with arguments. Note the new docs here:
https://deploy-preview-326--beautician-tilling-16528.netlify.app/targets/

And try making dependencies with arguments, also new docs here:
https://deploy-preview-326--beautician-tilling-16528.netlify.app/dependencies/

Comments on any and all of it, including docs, are most welcome!
Leave comments on the PR <https://github.com/magefile/mage/pull/326> or in 
this thread.

Thanks!
-Nate

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ee6481ae-b35e-4529-b5c4-bb91eddf8f2fn%40googlegroups.com.

Reply via email to