-
If you don't have
NodeJS
already download it. You'll get npm with it. -
Create a new file named
package.json
with the following content:
{
"name": "open-fin-links",
"version": "0.0.0",
"description": "",
"main": "open-all.js",
"bin": {
"opall": "open-all.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": ""
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": ""
},
"homepage": "",
"dependencies": {
"meow": "^3.7.0",
"open": "0.0.5"
}
}
If you haven't done so already copy
open-all.js
to your current directory and name it as is.
- Execute:
> npm install
> npm link
This will allow you to run
opall
from any directory.
- Now the setup should work
> opall aapl