Sort output by group

Not the best sorting, but better than nothing.
This commit is contained in:
Mark Felder 2020-11-27 12:32:53 -06:00
parent 2e87378051
commit a51da3c1d8

View File

@ -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()