Open ryenus opened 1 month ago
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.
While running
mbt
in an interactive context, havingrunIndicator
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.