refactor: gleamify :)

This commit is contained in:
2026-03-16 17:19:46 +01:00
parent f64af89e9b
commit df16a5bded

View File

@@ -31,7 +31,8 @@ fn history(_cmds: List(Command)) -> Nil {
fn help(cmds: List(Command)) -> Nil {
io.println("Available commands:")
list.each(cmds, fn(cmd) {
cmds
|> list.each(fn(cmd) {
io.println(" " <> cmd.name <> " - " <> cmd.description)
})
}