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();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    27
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    27
  • 0.1.1
    0
  • 0.1.0
    0
  • 0.0.4
    0
  • 0.0.2
    0

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