0.0.7 • Published 8 years ago

hiri v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

#hiri npm downloadsBuild Status Coveralls branch

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.

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago