deflake 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +2 -0
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -5,6 +5,7 @@ const DeFlakeClient = require('./client');
|
|
|
5
5
|
const { spawn } = require('child_process');
|
|
6
6
|
const fs = require('fs');
|
|
7
7
|
const path = require('path');
|
|
8
|
+
const pkg = require('./package.json');
|
|
8
9
|
|
|
9
10
|
const argv = yargs(hideBin(process.argv))
|
|
10
11
|
.option('log', {
|
|
@@ -23,6 +24,7 @@ const argv = yargs(hideBin(process.argv))
|
|
|
23
24
|
type: 'string',
|
|
24
25
|
description: 'Override Default API URL',
|
|
25
26
|
})
|
|
27
|
+
.version(pkg.version)
|
|
26
28
|
.help()
|
|
27
29
|
.argv;
|
|
28
30
|
|