Plugie
Plugin system for creating a CLI tool.
Usage
First of all, type npm install --save plugie
to install it.
Then require
it in your package:
const Plugie = ; const handlers = { // Handle a command } { // Handle a generator } ; const plugie = name: "plugie" types: Object handlers; moduleexports = plugie;
If you have installed packages with a name starts with plugie-command-
or plugie-generator-
, you will get them when you call plugie.load()
.