Smart Processes Management
A simple console notifier for Runnerty
Through NPM
npm i @runnerty/notifier-consoleYou can also add modules to your project with runnerty
npx runnerty add @runnerty/notifier-consoleThis command installs the module in your project, adds example configuration in your config.json and creates an example plan of use.
If you have installed runnerty globally you can include the module with this command:
runnerty add @runnerty/notifier-consoleAdd in config.json:
{
"notifiers": [
{
"id": "console_default",
"type": "@runnerty-notifier-console"
}
]
}Define the type of console message that you need (or prefer) in your process' events
{
"notifications": {
"on_end": [
{
"id": "console_default",
"message": "Things done right.",
"mode": "info"
}
]
}{
"id": "console_default",
"message": "We are out of candy!",
"mode": "warn"
}{
"id": "console_default",
"message": "Oh no.",
"mode": "error"
}