Skip to content

Missleading naming "run*" #4

@bwaidelich

Description

@bwaidelich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions