fix: support inline issue comment body

This commit is contained in:
Codex
2026-05-24 12:04:43 +00:00
parent e1817f506b
commit 3a1cc547e3
5 changed files with 222 additions and 13 deletions
+12
View File
@@ -114,6 +114,18 @@ function displayCommandName(parts: string[]): string {
}
return shown.join(" ");
}
if (parts[0] === "gh") {
const shown: string[] = [];
for (let index = 0; index < parts.length; index += 1) {
const part = parts[index] ?? "";
shown.push(part);
if (part === "--body") {
shown.push("<body:redacted>");
index += 1;
}
}
return shown.join(" ");
}
return parts.join(" ");
}