wanas-zcrm-extractor 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/bin/cli.js +3 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -57,11 +57,13 @@ function drawProgress(current, total, label, action) {
|
|
|
57
57
|
process.stdout.write(`\x1b[34m[${bar}]\x1b[0m \x1b[1;32m${percent}%\x1b[0m | \x1b[1m${label}\x1b[0m: ${truncatedAction}`);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
const pkg = require('../package.json');
|
|
61
|
+
|
|
60
62
|
// Version and metadata configuration
|
|
61
63
|
program
|
|
62
64
|
.name('zcrm')
|
|
63
65
|
.description('Zoho CRM V8 Metadata Extractor CLI Utility')
|
|
64
|
-
.version(
|
|
66
|
+
.version(pkg.version, '-v, --version', 'output the current version')
|
|
65
67
|
.addHelpText('before', getBanner());
|
|
66
68
|
|
|
67
69
|
/**
|