Description
Current situation
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: true
cmds:
- task --list
b-command:
desc: "This command should appear first"
order: 1 # Here is our order directive
cmds:
- ...
a-command:
desc: "This command should appear second"
silent: true
order: 2 # Here is our order directive
cmds:
- ...
Description
Current situation
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.