We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7643f4e commit 607b4acCopy full SHA for 607b4ac
src/index.js
@@ -1,6 +1,9 @@
1
// npm packages
2
const yargs = require('yargs');
3
4
+// version
5
+const pkg = require('../package.json');
6
+
7
// our packages
8
const login = require('./commands/login');
9
const deploy = require('./commands/deploy');
@@ -13,7 +16,7 @@ const token = require('./commands/token');
13
16
14
17
// init program
15
18
yargs
- .version('0.7.0')
19
+ .version(pkg.version)
20
.completion('completion')
21
.demand(1)
22
.help()
0 commit comments