haganbt / PYLON-exporter

Utility for exporting data from a PYLON index
4 stars 2 forks source link

Add ability to specify only selected tasks to run #64

Open samaybar opened 9 years ago

samaybar commented 9 years ago

It would be helpful to be able to mark only specific tasks in a config file to run. This way, if you have a long config file but just want to rerun one or several tasks, you can do it without commenting out everything else/deleting/etc.

I suggest adding a global flag for "run only selected" and then a property that can be added in individual tasks (runonly: true perhaps?) that will specify that a task should be run. (Though you may have a more elegant way to implement.)

samaybar commented 9 years ago

@haganbt I have implemented this in a branch in my repo (off the globalfilter branch). I still have to document it in the readme file, but will share once I have. I think it worked out nicely.

haganbt commented 9 years ago

Nice @samaybar look forward to taking a look.