bosco-core

0.2.0 • Public • Published

bosco-core

Basic bosco object

How to use it

// import the object
var Bosco = require('bosco-core');
 
// create an instance. The dirname will be used to reference the package.json
// For example reading the description, version of bosco etc.
// It is also expected that you have bosco commands under the directory subfolder commands
var bosco = new Bosco(__dirname);
 
// This is used to read the command from the command line. If the command used is not found, you will get an error with an helper message
bosco.initWithCommandLineArgs();
 
// you run the command
bosco.run();

/bosco-core/

    Package Sidebar

    Install

    npm i bosco-core

    Weekly Downloads

    27

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    36.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • tesglobaladmin