Newbie Paintball Master

    hiri

    0.0.7 • Public • Published

    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.

    Keywords

    Install

    npm i hiri

    DownloadsWeekly Downloads

    0

    Version

    0.0.7

    License

    MIT

    Last publish

    Collaborators

    • vaiii
    • koishi