Skip to content

Commit 0cc18ce

Browse files
author
User
committed
updated package.js
1 parent e85b31e commit 0cc18ce

File tree

5 files changed

+29
-6
lines changed

5 files changed

+29
-6
lines changed

.DS_Store

0 Bytes
Binary file not shown.

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,31 @@
22

33
Vue.js API in the Terminal
44

5+
###### screenshot
6+
<img
7+
src="https://github.com/p-adams/vue-help/blob/master/assets/screen-shot.png"
8+
height="400" width="800"/>
9+
10+
511
#### Motivation
612

13+
vue-help was created to facilitate access to all of Vue's API without the need for a browser or internet connection.
14+
15+
716
#### Usage
817

9-
#### Inspiration
18+
##### Install
1019

11-
###### screenshot
12-
<img
13-
src="https://github.com/p-adams/vue-help/blob/master/assets/screen-shot.png"
14-
height="400" width="800"/>
20+
`npm install -g vue-help`
21+
22+
23+
##### Start CLI
24+
25+
`npm vue-help`
26+
27+
##### Enter API name at the prompt
28+
29+
For example, `vue
30+
31+
32+
#### Inspiration

assets/.DS_Store

6 KB
Binary file not shown.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
"description": "Vue.js API in the terminal",
55
"main": "vue-help.js",
66
"scripts": {
7-
"vue-help": "node vue-help.js",
7+
//"vue-help": "node vue-help.js",
88
"test": "echo \"Error: no test specified\" && exit 1"
99
},
1010
"repository": {
1111
"type": "git",
1212
"url": "git+https://github.com/p-adams/vue-help.git"
1313
},
14+
"bin":{
15+
"vue-help": "./vue-help.js"
16+
},
17+
"preferGlobal": true,
1418
"author": "Paul Adams",
1519
"license": "ISC",
1620
"bugs": {

vue-help.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env node
12
const V = require('vorpal')()
23
const figlet = require('figlet')
34
const LGC = require('./logfunctions/logglobalconfig')

0 commit comments

Comments
 (0)