-
Notifications
You must be signed in to change notification settings - Fork 62
Constants
There are several constants available that can be set by user in the config
module. Here is the list of them with default values
PRINT_ALL_COMMANDS = False
prints all commands being executed
PRINT_STDOUT_ALWAYS = False
always prints stdout of every command executed, ignoring whether the p
parameter is set or not
EXIT_ON_ERROR = False
every error (returncode != 0) in executed commands will raise a core.NonZeroReturnCodeError. Without proper handling the script will just stop working, printing the stacktrace, returncode and stderr of the failed process. With this mode enabled you can catch this exception to handle the exceptional situation or in special cases suppress raising it by passing 'n' parameter to the command
COLORAMA_ENABLED = True
colorama is a plugin that makes output colored and much more clear and beautiful, this flag controls whether it is enabled