It's often useful to be able to pipe a programs standard output into another program. Unfortunately, the gleam run command prints its log messages (like Compiled in 0.2 seconds, Running program.main, etc.) to standard output unconditionally making this annoying, particularly because the number of lines of log messages vary depending on whether the build was cached or not.
This would be (I hope) easily fixed by adding a -q/--quiet option to the cli to suppress the log messages wholesale and/or print them to stderr (as is quite common in most build tools, I think) to allow the user to redirect them wherever.
It's often useful to be able to pipe a programs standard output into another program. Unfortunately, the
gleam run
command prints its log messages (likeCompiled in 0.2 seconds
,Running program.main
, etc.) to standard output unconditionally making this annoying, particularly because the number of lines of log messages vary depending on whether the build was cached or not.This would be (I hope) easily fixed by adding a
-q/--quiet
option to the cli to suppress the log messages wholesale and/or print them to stderr (as is quite common in most build tools, I think) to allow the user to redirect them wherever.