shuttle icon indicating copy to clipboard operation
shuttle copied to clipboard

[Improvement]: `--quiet` flag for local runs

Open jonaro00 opened this issue 1 year ago • 7 comments

Describe the improvement

When starting a local run, there are lots of printouts from both cargo-shuttle and the runtime's startup logic.

A -q / --quiet flag can be added to the run command, that supresses non-error prints in cargo-shuttle. The flag can also be passed on as --quiet to the runtime binary, where it can also be used to supress the lines that are usually printed (the ones that show up with [Runtime] prepended).

A solution that puts the relevant prints inside if-statements should be sufficient.


This issue is open to contribution. Comment if you want to work on it. Feel free to ask for help and guidance here or in our Discord.

jonaro00 avatar Jan 31 '24 19:01 jonaro00

I would like to try this : )

dhruvdabhi101 avatar Feb 01 '24 17:02 dhruvdabhi101

I would like to have this feature too, nice idea!

ccmvn avatar Feb 12 '24 17:02 ccmvn

@ccmvn Feel free to attempt solving it if you want to :)

jonaro00 avatar Feb 12 '24 17:02 jonaro00

@ccmvn Feel free to attempt solving it if you want to :)

Unfortunately I'm too busy with my own projects, but it's a cool thing and I would appreciate it if someone else from the community could implement it, because it makes the console cleaner and you don't always need the information that is displayed there

ccmvn avatar Feb 12 '24 17:02 ccmvn

@jonaro00 this issue is still active? Can I look into this?

sourabpramanik avatar Mar 18 '24 17:03 sourabpramanik