1.0.0 • Published 9 years ago

nachos-open v1.0.0

Weekly downloads
4
License
GNU GPLv2
Repository
github
Last release
9 years ago

open

Open nachos packages

Have a problem? Come chat with us!

Join the chat at https://gitter.im/nachos/open

Installation

  $ [sudo] npm install nachos-open -g

Note: If you are using nachos open programmatically

  $ cd /path/to/your/project
  $ [sudo] npm install nachos-open --save

Examples

From a command line

Open nachos package

  $ nachos-open package-name
  // -> opens package-name

Supports args to the package

  $ nachos-home package-name a r g s
  // -> opens package-name with ['a', 'r', 'g', 's']

From code

nachosOpen(name, args)

var nachosOpen = require('nachos-open');

nachosOpen('package-name', ['a', 'r', 'g', 's'])
  .then(function () {
    // Opend succesfully
  })
  .catch(function (err) {
    // Handle error
  });

Run Tests

  $ npm test

License

GNU GPLv2