help-me
Help command for node, to use with minimist and commist.
Example
'use strict'
var helpMe = require('help-me')
var help = helpMe({
dir: path.join(path.dirname(require.main.filename), 'doc'),
ext: '.txt'
})
help
.createStream(['hello'])
.pipe(process.stdout)
help.helpToStdout(['hello']
Usage with commist
Commist provide a command system for node.
var commist = require('commist')()
var help = require('help-me')()
commist.register('help', help.toStdout)
commist.parse(process.argv.splice(2))
Acknowledgements
This project was kindly sponsored by nearForm.
License
MIT