Skip to content

Commit c891d9c

Browse files
committed
chore: add query2app binary
1 parent 9897f6c commit c891d9c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
"start": "node src/index.js",
88
"test": "echo \"Error: no test specified\" && exit 1"
99
},
10+
"bin": {
11+
"query2app": "./src/cli.js"
12+
},
1013
"keywords": [],
1114
"author": "Slava Semushin <slava.semushin@gmail.com>",
1215
"license": "GPL-2.0",

src/index.js renamed to src/cli.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env node
2+
13
const yaml = require('js-yaml');
24
const fs = require('fs');
35

0 commit comments

Comments
 (0)