parent
8ee84ba37d
commit
61c5091ebc
|
@ -29,7 +29,7 @@ def iter_commands(
|
|||
if depth > 1:
|
||||
yield f"{'#'*depth} {cliobj.name}"
|
||||
|
||||
for name in cliobj.commands:
|
||||
for name in sorted(cliobj.commands):
|
||||
yield from iter_commands(
|
||||
module_name, cmd_chain + [name], cliobj.commands[name], depth=depth + 1
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue