dashcam 1.3.18-beta → 1.3.19-beta
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/dashcam.js +11 -0
- package/package.json +1 -1
package/bin/dashcam.js
CHANGED
|
@@ -37,6 +37,17 @@ program
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
+
// Add a dedicated version command that shows more details
|
|
41
|
+
program
|
|
42
|
+
.command('version')
|
|
43
|
+
.description('Show version information')
|
|
44
|
+
.action(() => {
|
|
45
|
+
console.log(`Dashcam CLI v${APP.version}`);
|
|
46
|
+
console.log(`Node.js ${process.version}`);
|
|
47
|
+
console.log(`Platform: ${process.platform} ${process.arch}`);
|
|
48
|
+
process.exit(0);
|
|
49
|
+
});
|
|
50
|
+
|
|
40
51
|
program
|
|
41
52
|
.command('auth')
|
|
42
53
|
.description("Authenticate the dashcam desktop using a team's apiKey")
|