gleam
gleam copied to clipboard
Add --silent flag to gleam run and gleam build
This is especially useful for piping program's stdout to other things.
Brief discussion about it here: https://discord.com/channels/768594524158427167/1139046296439758858
Good suggestion, thank you. I think I would like to use a more verbose flag as --silent
is is more likely to be something the Gleam program would want to use. Perhaps --no-print-progress
?
This would be implemented by passing in the null telemetry instead of the one that prints to the console.
Would this be only about the stdout infos or also about warnings?
Only the progress information, warnings and errors would still be printed.
I'd like to work this ticket, if possible. Should I proceed with naming the flag --no-print-progress
?
Yes please 🙏
I would love this!
Not sure if the --silent
would suppress warnings as well but that would be very helpful.
It would not, no.
--warnings-as-errors would also be helpful for CI purposes (modifying the posix exit code to be 0) I am personally agains --no-warnings