utilapp

Used to help build your app bin node.

Usage no npm install needed!

<script type="module">
  import utilapp from 'https://cdn.skypack.dev/utilapp';
</script>

README

utilapp

Used to help build your app bin node.

Install

Install with npm

$ npm i utilapp --save

Usage

var utilapp = require('utilapp');

Show version message

var pkg = require('./package.json')
utilapp.varsion(pkg)

Show Help message

var pkg = require('./package.json')
utilapp.help(pkg, {
    arguments: {
        'una-action': 'a description',
    },
    options: {
        '-a, --a-option': 'a description',
    }
})

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Dotsoy

License

Copyright © 2016 Jon Dotsoy Licensed under the MIT license.