This is a major rework of how we handle outputting information to the console. It consist of:
Cotainr build CLI options --verbose/--quiet to adjust the verbosity of the output to the console.
Cotainr build CLi option --log-to-file to also save the stdout/stderr messages to files in addition to showing them on the console.
Colored console output (colored by severity of message) by default with cotainr build CLI option --no-color to disable colored output.
A Python logging based setup for handling all messages being passed within cotainr, handled at the standard Python log levels: DEBUG, INFO, WARNING, ERROR, CRITICAL.
Passing of verbosity levels to Singularity and Conda.
Filtering of messages from Conda to remove partial progress bars and various ANSI escape codes that mess up the console output.
Basic Cotainr build CLI progress messages.
A console spinner which we prepend to the output message from the Cotainr build CLI while we are waiting for the next output message.
A development documentation page detailing how all of this works.
A few minor clean-ups.
Once this PR is merged, we should close #32 as this PR supersedes #32.
This is a major rework of how we handle outputting information to the console. It consist of:
--verbose
/--quiet
to adjust the verbosity of the output to the console.--log-to-file
to also save the stdout/stderr messages to files in addition to showing them on the console.--no-color
to disable colored output.Once this PR is merged, we should close #32 as this PR supersedes #32.