wechat wss demo
jimmy 8522805c98 first il y a 7 ans
..
doc first il y a 7 ans
fixture first il y a 7 ans
.npmignore first il y a 7 ans
.travis.yml first il y a 7 ans
LICENSE first il y a 7 ans
README.md first il y a 7 ans
example.js first il y a 7 ans
help-me.js first il y a 7 ans
package.json first il y a 7 ans
test.js first il y a 7 ans

README.md

help-me

Help command for node, to use with minimist and commist.

Example

'use strict'

var helpMe = require('help-me')
var help = helpMe({
  // the default
  dir: path.join(path.dirname(require.main.filename), 'doc'),
  // the default
  ext: '.txt'
})

help
  .createStream(['hello']) // can support also strings
  .pipe(process.stdout)

// little helper to do the same
help.toStdout(['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