cli-boot

    1.2.9 • Public • Published

    code style downloads license npm version

    cli-boot

    simple wrapper for command line interfaces

    usage

    const app = require("./package.json");
    const cli = require("cli-boot");
    
    cli(app, {
      command: function() {
        if (arguments.length < 1) {
          return ["option1", "option2"];
        }
    
        console.log(`Got ${arguments}`);
      }
    });
    

    Install

    npm i cli-boot

    DownloadsWeekly Downloads

    16

    Version

    1.2.9

    License

    MIT

    Unpacked Size

    3.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • diogoeichert