You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now any custom parameter passed on the command line is rejected (ie. all the ones not defined in pakeapp class).
It would be nice if the user could add support for custom parameters, a la java (eg. -Dmyparam=myvalue), or by plain registration of more options.
As far as I can tell, this is now impossible, as the function run() does not allow to specify extra options definitions, but only options values. Also the do_option() method should be modified accordingly
The text was updated successfully, but these errors were encountered:
PS: I just found out that optional arguments and options can be added on the cli after the name of the task. Duh. This allows me to reach my goals, but in a slightly more awkward way: for a generic parameter, I have to add its handling to all of my actions...
Right now any custom parameter passed on the command line is rejected (ie. all the ones not defined in pakeapp class).
It would be nice if the user could add support for custom parameters, a la java (eg. -Dmyparam=myvalue), or by plain registration of more options.
As far as I can tell, this is now impossible, as the function run() does not allow to specify extra options definitions, but only options values. Also the do_option() method should be modified accordingly
Reply to this email directly or view it on GitHub: #12
Right now any custom parameter passed on the command line is rejected (ie. all the ones not defined in pakeapp class).
It would be nice if the user could add support for custom parameters, a la java (eg. -Dmyparam=myvalue), or by plain registration of more options.
As far as I can tell, this is now impossible, as the function run() does not allow to specify extra options definitions, but only options values. Also the do_option() method should be modified accordingly
The text was updated successfully, but these errors were encountered: