@ulpi/browse 0.7.0 → 0.7.1
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/package.json +1 -1
- package/src/cli.ts +6 -0
package/package.json
CHANGED
package/src/cli.ts
CHANGED
|
@@ -576,6 +576,12 @@ export async function main() {
|
|
|
576
576
|
cliFlags.headed = headed;
|
|
577
577
|
|
|
578
578
|
// ─── Local commands (no server needed) ─────────────────────
|
|
579
|
+
if (args[0] === 'version' || args[0] === '--version' || args[0] === '-V') {
|
|
580
|
+
const pkg = await import('../package.json');
|
|
581
|
+
console.log(pkg.version);
|
|
582
|
+
return;
|
|
583
|
+
}
|
|
584
|
+
|
|
579
585
|
if (args[0] === 'instances') {
|
|
580
586
|
await listInstances();
|
|
581
587
|
return;
|