3.1.0 • Published 2 years ago

@runnerty/notifier-console v3.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
2 years ago

NPM version Downloads Dependency Status

A simple console notifier for Runnerty

Installation:

Through NPM

npm i @runnerty/notifier-console

You can also add modules to your project with runnerty

npx runnerty add @runnerty/notifier-console

This 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-console

Configuration sample:

Add in config.json:

{
  "notifiers": [
    {
      "id": "console_default",
      "type": "@runnerty-notifier-console"
    }
  ]
}

Usage

Define the type of console message that you need (or prefer) in your process' events

info mode

info notification on console

{
  "notifications": {
    "on_end": [
      {
        "id": "console_default",
        "message": "Things done right.",
        "mode": "info"
      }
    ]
}

warn mode

warning notification on console

{
  "id": "console_default",
  "message": "We are out of candy!",
  "mode": "warn"
}

error mode

error notification on console

{
  "id": "console_default",
  "message": "Oh no.",
  "mode": "error"
}
3.1.0

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

3.0.0-alpha.1

3 years ago

3.0.0-alpha.0

3 years ago

1.0.0

6 years ago