feat: render 71freq hwpod preinstall config

This commit is contained in:
Codex
2026-06-26 02:19:27 +00:00
parent 6ea9452562
commit 050cba102b
9 changed files with 832 additions and 5 deletions
+7 -1
View File
@@ -200,11 +200,17 @@ async function main(): Promise<void> {
}
const [top, sub, third, fourth] = args;
if (top === undefined || top === "help" || top === "--help" || top === "-h") {
if (top === undefined || top === "--help" || top === "-h") {
emitJson(commandName, rootHelp());
return;
}
if (top === "help") {
const namespaceHelp = args.length > 1 ? await staticNamespaceHelp([...args.slice(1), "--help"]) : null;
emitJson(commandName, namespaceHelp ?? rootHelp());
return;
}
if (top === "ssh" && (sub === undefined || isHelpToken(sub) || (isHelpToken(third) && args.length === 3))) {
emitJson(commandName, sshHelp());
return;