dashcam 1.0.1-beta.10 → 1.0.1-beta.11

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.
Files changed (2) hide show
  1. package/bin/dashcam.js +8 -1
  2. package/package.json +1 -1
package/bin/dashcam.js CHANGED
@@ -691,6 +691,13 @@ program
691
691
  });
692
692
 
693
693
  // If no command specified, treat as create command
694
- program.action(createClipAction);
694
+ program.action((options, command) => {
695
+ // Merge global options with command options
696
+ const mergedOptions = {
697
+ ...command.opts(),
698
+ ...options
699
+ };
700
+ return createClipAction(mergedOptions);
701
+ });
695
702
 
696
703
  program.parse();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dashcam",
3
- "version": "1.0.1-beta.10",
3
+ "version": "1.0.1-beta.11",
4
4
  "description": "Minimal CLI version of Dashcam desktop app",
5
5
  "main": "bin/index.js",
6
6
  "bin": {