Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add a `-L` flag (alternative to `-l`) that prints all tasks #383
Comments
|
Hi @zx8, Perhaps we could add a Changing the behavior of the existing flag is a backward incompatible change, so not a good idea. |
|
Yeah sure, that works! |


Or a new flag should be introduced (e.g.
task --names) to just output the names of available tasks, with no descriptions.Currently, a Taskfile with no descriptions returns:
While the solution is fairly intuitive (i.e. add a description to every task), the behaviour is surprising. Not to mention it would make the completions much less hacky (for tasks that do have a description):
task/completion/fish/task.fish
Line 2 in ce4ac97