gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Add --silent flag to gleam run and gleam build

Open PastMoments opened this issue 10 months ago • 6 comments

This is especially useful for piping program's stdout to other things.

Brief discussion about it here: https://discord.com/channels/768594524158427167/1139046296439758858

PastMoments avatar Aug 16 '23 23:08 PastMoments

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.

lpil avatar Aug 20 '23 10:08 lpil

Would this be only about the stdout infos or also about warnings?

inoas avatar Aug 20 '23 16:08 inoas

Only the progress information, warnings and errors would still be printed.

lpil avatar Aug 21 '23 08:08 lpil

I'd like to work this ticket, if possible. Should I proceed with naming the flag --no-print-progress?

ohamill avatar Dec 02 '23 21:12 ohamill

Yes please 🙏

lpil avatar Dec 04 '23 12:12 lpil

I would love this!

erikareads avatar Jan 14 '24 02:01 erikareads