smippo 0.0.5 → 0.0.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smippo",
3
- "version": "0.0.5",
3
+ "version": "0.0.8",
4
4
  "description": "S.M.I.P.P.O. — Structured Mirroring of Internet Pages and Public Objects. Modern website copier that captures sites exactly as they appear in your browser.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -367,11 +367,16 @@ export async function runInteractiveCapture() {
367
367
  * Check if we should run in interactive mode
368
368
  */
369
369
  export function shouldRunInteractive(args) {
370
- // Check for explicit flags
370
+ // Check for explicit flags that should skip interactive mode
371
371
  if (args.includes('--no-interaction') || args.includes('-y')) {
372
372
  return false;
373
373
  }
374
374
 
375
+ // Check for version flag
376
+ if (args.includes('--version') || args.includes('-V')) {
377
+ return false;
378
+ }
379
+
375
380
  // Check if stdin is a TTY (interactive terminal)
376
381
  if (!process.stdin.isTTY) {
377
382
  return false;