@gh-symphony/cli 0.1.4 → 0.2.2

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/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-MVRF7BES.js";
8
8
  import {
9
9
  resolveConfigDir
10
- } from "./chunk-WOVNN5NW.js";
10
+ } from "./chunk-4ICDSQCJ.js";
11
11
 
12
12
  // src/index.ts
13
13
  import { realpathSync } from "fs";
@@ -414,13 +414,13 @@ function createRemovedCommandHandler(message) {
414
414
 
415
415
  // src/index.ts
416
416
  var COMMANDS = {
417
- workflow: () => import("./workflow-WSXHMO5B.js"),
418
- setup: () => import("./setup-UJC2WYHQ.js"),
419
- doctor: () => import("./doctor-I32MANQ4.js"),
420
- upgrade: () => import("./upgrade-XYHCUGHT.js"),
421
- repo: () => import("./repo-IH6UWE4H.js"),
422
- config: () => import("./config-cmd-2ADPUYWA.js"),
423
- version: () => import("./version-B2AYYGLM.js")
417
+ workflow: () => import("./workflow-2ERPNGRB.js"),
418
+ setup: () => import("./setup-XNOSJ3RX.js"),
419
+ doctor: () => import("./doctor-GDZSGJIT.js"),
420
+ upgrade: () => import("./upgrade-ZWUAJLHK.js"),
421
+ repo: () => import("./repo-SWEUWY4H.js"),
422
+ config: () => import("./config-cmd-AOZVS6GU.js"),
423
+ version: () => import("./version-PLQK6X2P.js")
424
424
  };
425
425
  function addGlobalOptions(command) {
426
426
  return command.option("--config <dir>", "Config directory").addOption(new Option("--config-dir <dir>").hideHelp()).option("-v, --verbose", "Enable verbose output").option("--json", "Output in JSON format").option("--no-color", "Disable color output");
@@ -581,6 +581,9 @@ function createProgram() {
581
581
  ).option(
582
582
  "--smoke",
583
583
  "Run a safe live issue readiness check without dispatching work"
584
+ ).option(
585
+ "--bundle [path]",
586
+ "Export a redacted support bundle for shareable diagnostics"
584
587
  ).option("--issue <owner/repo#number>", "Live issue to validate").addOption(new Option("--project <projectId>").hideHelp()).allowExcessArguments(false)
585
588
  ).action(async function() {
586
589
  markInvoked();
@@ -589,6 +592,7 @@ function createProgram() {
589
592
  pushOption(args, "--project-id", resolveProjectId(values));
590
593
  pushOption(args, "--fix", values.fix);
591
594
  pushOption(args, "--smoke", values.smoke);
595
+ pushOption(args, "--bundle", values.bundle);
592
596
  pushOption(args, "--issue", values.issue);
593
597
  await invokeHandler("doctor", args, values);
594
598
  });