grepleaks 1.4.3 → 1.4.5
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/bin/grepleaks.js +6 -0
- package/package.json +1 -1
package/bin/grepleaks.js
CHANGED
|
@@ -532,6 +532,12 @@ async function main() {
|
|
|
532
532
|
case '-h':
|
|
533
533
|
help();
|
|
534
534
|
break;
|
|
535
|
+
case 'version':
|
|
536
|
+
case '--version':
|
|
537
|
+
case '-v':
|
|
538
|
+
const pkg = require('../package.json');
|
|
539
|
+
console.log(`grepleaks v${pkg.version}`);
|
|
540
|
+
break;
|
|
535
541
|
default:
|
|
536
542
|
help();
|
|
537
543
|
}
|