Closed toritori0318 closed 9 years ago
I'm thinking about this one. I can see how this would be helpful on Windows. I plan on porting https://github.com/substack/minimist to golang which would allow retrieving arbitrary args like this without having to declare flags
p.Task("hello", func (c *Context) {
user := c.Args.MustString("USER")
})
However, Rake is battle tested and there's probably a good reason they did it that way.
That sounds nice! I take the liberty of closing this request.
Hello. I tried to implement pass the ENV from the command line.
See below. (name=value option) http://docs.seattlerb.org/rake/doc/command_line_usage_rdoc.html
example