refactor: sort cli

This commit is contained in:
cha0s 2022-03-06 09:11:56 -06:00
parent 60ab421988
commit cf641ae102

View File

@ -85,7 +85,7 @@ else {
debug('bootstrapped');
// Register commands.
const commands = flecks.invokeReduce('@flecks/core/commands', undefined, undefined, program);
const keys = Object.keys(commands);
const keys = Object.keys(commands).sort();
for (let i = 0; i < keys.length; ++i) {
const {
action,