-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I got confused by the names of the two run* commands because I expected them to, well, run the tasks but in fact even ./flow task:runSingle only schedules a task – or even doesn't do anything if one is scheduled already.
(PS: I copied the naming to my TaskModule package which makes it even more confusing)
Suggestion
I propose to deprecate the two commands task:run and task:runSingle in favor of a new command task:schedule (or similar) with an optional filter to schedule tasks by id etc.
(task:run and task:runSingle should still work of course for B/C but they would be hidden from ./flow help)
Additionally I could imagine another command task:execute that allows to immediately run a task whether it is scheduled or not.
@daniellienert I could take care of this suggestion, but would like to hear your opinion on it, first