0.0.7 • Published 10 years ago

hiri v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
10 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

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago