@wraps.dev/cli 3.17.2 → 3.17.3

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/dist/cli.js CHANGED
@@ -72616,13 +72616,17 @@ async function run() {
72616
72616
  break;
72617
72617
  case "validate":
72618
72618
  await workflowsValidate({
72619
- workflow: flags.workflow,
72619
+ // Positional slug (`wraps email workflows validate my-slug`)
72620
+ // falls back to --workflow, matching templates push.
72621
+ workflow: sub[3] || flags.workflow,
72620
72622
  json: flags.json
72621
72623
  });
72622
72624
  break;
72623
72625
  case "push":
72624
72626
  await workflowsPush({
72625
- workflow: flags.workflow,
72627
+ // Positional slug (`wraps email workflows push my-slug`)
72628
+ // falls back to --workflow, matching templates push.
72629
+ workflow: sub[3] || flags.workflow,
72626
72630
  dryRun: flags.dryRun,
72627
72631
  draft: flags.draft,
72628
72632
  force: flags.force,