@runnerty/notifier-console

Runnerty module: Console notifier.

Showing:

Popularity

Downloads/wk

1

GitHub Stars

0

Maintenance

Last Commit

7mos ago

Contributors

2

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Smart Processes Management

NPM version Downloads Dependency Status code style: prettier

A simple console notifier for Runnerty

Installation:

Through NPM

npm i @runnerty/notifier-console

You can also add modules to your project with runnerty-cli

npx runnerty-cli add @runnerty/notifier-console

This command installs the module in your project, adds example configuration in your config.json.

If you have installed runnerty-cli globally you can include the module with this command:

rty 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"
}

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100