@aarwitz/tapp 0.17.0-rc.8 → 0.17.0-rc.9

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/tapp.js +6 -0
  2. package/package.json +1 -1
package/bin/tapp.js CHANGED
@@ -249,6 +249,12 @@ function safeCommandUsage(verb) {
249
249
  // Safe help: `--help`/`-h` on ANY verb prints the command reference and does NOTHING else — never
250
250
  // builds, launches, writes, or opens (ADR-0005 manual-testing requirement). `ci` keeps its own
251
251
  // richer `--help` (a safe usage print in ci-gate.sh); help/version don't need interception.
252
+ // A bare `tapp --help` puts the flag in `command`, not `rest`; normalize it before the
253
+ // per-verb interception so the root help path receives the same no-write guarantee.
254
+ if (["--help", "-h"].includes(command)) {
255
+ command = "help";
256
+ rest = [];
257
+ }
252
258
  const safeHelpRequested = (rest.includes("--help") || rest.includes("-h"))
253
259
  && !["help", "version", "--version", "-v"].includes(command)
254
260
  && (command !== "ci" || rest[0] === "install");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aarwitz/tapp",
3
- "version": "0.17.0-rc.8",
3
+ "version": "0.17.0-rc.9",
4
4
  "mcpName": "io.github.aarwitz/tapp",
5
5
  "description": "Release contracts, autonomous QA, and evidence-backed CI gates for iOS, Android, and web.",
6
6
  "license": "MIT",