flatiron-cli-version
v0.1.3
Published
Encapsulated command for version in flatiron CLI apps
Downloads
5
Readme
flatiron-cli-version
Encapsulated commands for showing version in flatiron CLI apps
Installation
npm install flatiron-cli-version
Usage
At its core flatiron-cli-version
is a broadway-compatible plugin which can be used by any flatiron application
var flatiron = require('flatiron')
, app = flatiron.app;
//
// Configure the Application to be a CLI app with
// a JSON configuration file `test-config.json`
//
app.use(flatiron.plugins.cli, {
usage: 'A simple CLI app using flatiron-cli-version'
});
//
// Expose CLI commands using `flatiron-cli-version`
//
app.use(require('flatiron-cli-version'));
app.start();
Run the above script
➤ appname version
info: appname v0.1.0
➤ appname help version
help: Display app version
help:
help: appname version
If you like this project, please watch this and follow me.
Testing
npm test
Contributors
Here is a list of Contributors
TODO
I accept pull requests and guarantee a reply back within a day
License
MIT/X11
Bug Reports
Report here. Guaranteed reply within a day.
Contact
Pavan Kumar Sunkara ([email protected])