Raku / ake

A Raku make-a-like inspired by rake
Artistic License 2.0
12 stars 10 forks source link

Command line arguments #10

Open AlexDaniel opened 7 years ago

AlexDaniel commented 7 years ago

Rake does seem to support it in a way, but that looks very clunky. Maybe sake can do better.

AlexDaniel commented 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…

AlexDaniel commented 6 years ago

FWIW there's an example of that in whateverable (no arguments, but fake parameterizable tasks):

https://github.com/perl6/whateverable/blob/62a8d0d126737b96341a2a156584b62f48d33820/Sakefile#L17