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
{{ message }}
Repository navigation
Request for order directive to define task list order output manually #2946
At the moment, Taskfile displays commands in alphabetical order. This creates a messy output and makes the command list random.
What we need
We need a simple directive, such as order, that allows us to manually define the order in which commands are displayed.
tasks:
default:
silent: truecmds:
- task --listb-command:
desc: "This command should appear first"order: 1# Here is our order directivecmds:
- ...a-command:
desc: "This command should appear second"silent: trueorder: 2# Here is our order directivecmds:
- ...
Activity
trulede commentedon Aug 31, 2026
Try
task --list --sort noneand then order the tasks as you want them.https://taskfile.dev/docs/reference/cli#sort-mode