refactor: sort cli
This commit is contained in:
parent
60ab421988
commit
cf641ae102
|
@ -85,7 +85,7 @@ else {
|
||||||
debug('bootstrapped');
|
debug('bootstrapped');
|
||||||
// Register commands.
|
// Register commands.
|
||||||
const commands = flecks.invokeReduce('@flecks/core/commands', undefined, undefined, program);
|
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) {
|
for (let i = 0; i < keys.length; ++i) {
|
||||||
const {
|
const {
|
||||||
action,
|
action,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user