@gridonic/cli
v0.1.3
Published
Our command line interface.
Downloads
20
Readme
Installation
It’s advised to install it globally. Just run $ npm install --global @gridonic/cli
.
How to use?
Give it a try and run $ gridonic
within your shell.
How does it work?
It’s basically just a wrapper function, which looks for a set of npm packages that we have defined. Each npm package exposes as set of flags and commands that dynamically hook into our gridonic
command.
So if you run one of the npm package’s command, we just forward the input arguments and flags to the actual “binary” of that npm package. That’s it.
This gives us the flexibility to maintain and improve commands/flags outside of our CLI without needing to make a release for each change of the respective npm package.