Sort output by group
Not the best sorting, but better than nothing.
This commit is contained in:
parent
2e87378051
commit
a51da3c1d8
|
@ -40,6 +40,7 @@ def run(["dump"]) do
|
||||||
|
|
||||||
ConfigDB
|
ConfigDB
|
||||||
|> Repo.all()
|
|> Repo.all()
|
||||||
|
|> Enum.sort()
|
||||||
|> Enum.each(&dump(&1))
|
|> Enum.each(&dump(&1))
|
||||||
else
|
else
|
||||||
_ -> configdb_not_enabled()
|
_ -> configdb_not_enabled()
|
||||||
|
|
Loading…
Reference in New Issue