hiri
v0.0.7
Published
cli help lib
Downloads
5
Readme
install
npm install hiri
usage
//index.js
var {hiri} = require('hiri')
function message(){
let input = this.input
let flags = this.flags
return console.log(`You input ${input} with flags ${JSON.stringify(flags)}`)
}
const cli = new hiri({
'm,message': message
})
$ node index.js -m lalala hello
//You input hello with flags {"m":"lalala"}
inspiration of cac/egoist
license
MIT. Copyright (c) viii.