Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suppress printing runIndicator when running in batch context #1125

Open
ryenus opened this issue Aug 2, 2024 · 2 comments
Open

suppress printing runIndicator when running in batch context #1125

ryenus opened this issue Aug 2, 2024 · 2 comments

Comments

@ryenus
Copy link

ryenus commented Aug 2, 2024

While running mbt in an interactive context, having runIndicator enabled is quite nice, by indicating the build is work in progress rather than stuck.

However, when running in a batch context, such as CI pipelines, having the dots mixed in the build logs is not really helpful.

It would be nice for mbt to add batch-mode support, which can suppress the runIndicator dots when run in batch mode.

@ryenus
Copy link
Author

ryenus commented Aug 2, 2024

It would be nice to have a command line option like -B, with --batch-mode being the long option, to allow the user to disable the runIndicator dots when set.

And proposing -B here, because -b is already taken (for sbom). In the meantime Apache Maven also use -B and --batch-mode so that mbt and Apache Maven can be aligned on this.

@yutaoj
Copy link
Collaborator

yutaoj commented Nov 5, 2024

Hi ,

We appreciate your suggestion and will consider this requirement future. Thank you for your input.

Thanks
Yutao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants