Open AlexDaniel opened 7 years ago
People seem to like this type of thing:
rake user:create -- --user test@example.com --pass 123
And I'd agree, this is probably the best solution, as long as you have only one task…
FWIW there's an example of that in whateverable (no arguments, but fake parameterizable tasks):
https://github.com/perl6/whateverable/blob/62a8d0d126737b96341a2a156584b62f48d33820/Sakefile#L17
Rake does seem to support it in a way, but that looks very clunky. Maybe
sake
can do better.