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
In a similar way to how rake allows desc statements to describe tasks, it would be great if flightplan supported some way to give description text when printing the results of fly --T.
This would allow task names to remain terse enough to be typed, while providing more information to those who are inspecting the list of tasks provided by a flightplan.js.
The text was updated successfully, but these errors were encountered:
Do you think that the description should be defined as another param passed to .local or .remote...
plan.local("task","description of task",function(local){/* noop */});
... or, do you think that using a dictionary if you want to specify a name and a description is better...
plan.local({name : "task",description : "description of task"},function(local){/* noop */});
The dictionary would be easier to implement, and makes back compatibility easier. The code would inspect the first parameter, as it does today, but it would additionally compare it to a dictionary.
In a similar way to how rake allows
desc
statements to describe tasks, it would be great if flightplan supported some way to give description text when printing the results offly --T
.This would allow task names to remain terse enough to be typed, while providing more information to those who are inspecting the list of tasks provided by a flightplan.js.
The text was updated successfully, but these errors were encountered: