flatiron-cli-version

Encapsulated command for version in flatiron CLI apps

flatiron-cli-version

Encapsulated commands for showing version in flatiron CLI apps

npm install flatiron-cli-version

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.

npm test

Here is a list of Contributors

I accept pull requests and guarantee a reply back within a day

MIT/X11

Report here. Guaranteed reply within a day.

Pavan Kumar Sunkara (pavan.sss1991@gmail.com)

Follow me on github, twitter