Socket
Socket
Sign inDemoInstall

noti-cli

Package Overview
Dependencies
70
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    noti-cli

Run `ng serve` but hook into its output to show toast notifications for events


Version published
Weekly downloads
1
Maintainers
1
Created
Weekly downloads
 

Readme

Source

CLI notifier

Small project that wraps around CLI commands to capture their output and when encountering certain situations show a notification about the event.

Started as a project specific to angular-cli, but evolved quite a bit since then. Out-of-the-box support for ember-cli and create-react-app is coming soon.

Installation

For now:

  • clone the project
  • run yarn install (or npm install if you really have to :laughing:)
  • run tsc && npm install -g && npm link

Usage

Run noti-cli <cli params for the cli command defined in your noti-cli.config file> in your working project folder.

When you have multiple configurations in your directory tree, set the first parameter of noti-cli to cli:cli_name to load noti-cli.cli_name.json as a configuration file (e.g. noti-cli cli:ng ... will load the configuration from noti-cli.ng.json either from your current working directory tree, or as a last try, from the noti-cli directory).

noti-cli will automatically run the cli command defined in the configuration file and pass onto it all the parameters you supplied noti-cli except for the cli:... parameter, if present.

Keywords

FAQs

Last updated on 14 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc