nachos-open
v1.0.0
Published
Open nachos packages
Downloads
3
Readme
open
Open nachos packages
Have a problem? Come chat with us!
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