Skip to content

Commit

Permalink
feat: sort keys in list cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
z3z1ma committed Jul 28, 2024
1 parent 51b973f commit f20ac0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdf/core/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def cli() -> None:
pass

def _list(d: t.Dict[str, cmp.TComponent]) -> int:
for name in d.keys():
for name in sorted(d.keys()):
click.echo(name)
return 1

Expand Down

0 comments on commit f20ac0c

Please sign in to comment.