perlpunk / App-Spec-p5

Writing command line apps made easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Regression: op must now be a string

dakkar opened this issue · comments

Before 0.005, a command op could be a coderef, which was nice for those times where you just need to call an existing method with a value from the runner, see https://www.thenautilus.net/cgit/Sietima/tree/lib/Sietima/Role/SubscriberOnly/Moderate.pm?h=v1.0.4-dzilla&id=402b4b8e83babbb453c3caa23fb7e75c0cfbe1c0#n221for example.

With 0.005, I had to add methods just for App::Spec, see
https://www.thenautilus.net/cgit/Sietima/commit/?id=db2394b8c0beba5f4323dffe2d20adad1c5acf2b