haganbt / pepp

PYLON Exporter ++
MIT License
5 stars 5 forks source link

Add ability to specify only selected tasks to run #17

Closed haganbt closed 8 years ago

haganbt commented 8 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.)

haganbt commented 8 years ago

@samaybar - added in v2 (async-api branch)

{
        "target": "fb.parent.topics.name",
        "threshold": 2,
        "only": true
      },