Console Helper module
The console helper module provides functions for printing colored messages to the console.
Raises:
Type | Description |
---|---|
Exception
|
If the message is not defined. |
print_green(msg)
Print the message in green.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
msg |
str
|
The message to be printed to STDOUT. |
required |
Raises:
Type | Description |
---|---|
Exception
|
If the message is not defined. |
Source code in jira_python_utils/console_helper.py
print_red(msg)
Print the message in red.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
msg |
str
|
The message to be printed to STDERR. |
required |
Raises:
Type | Description |
---|---|
Exception
|
If the message is not defined. |
Source code in jira_python_utils/console_helper.py
print_yellow(msg=None)
Print the message in yellow.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
msg |
str
|
The message to be printed to STDOUT. |
None
|
Raises:
Type | Description |
---|---|
Exception
|
If the message is not defined. |