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.
- package/bin/dashcam.js +8 -1
- 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(
|
|
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();
|