fix: simplify agentrun cli entrypoints
This commit is contained in:
@@ -31,6 +31,9 @@ const commandName = displayCommandName(args);
|
||||
|
||||
function displayCommandName(parts: string[]): string {
|
||||
if (parts.length === 0) return "help";
|
||||
if (parts[0] === "agentrun" && parts[1] === "v01") {
|
||||
return ["agentrun", ...parts.slice(2)].join(" ").trim();
|
||||
}
|
||||
if (parts[0] === "codex" && (parts[1] === "submit" || parts[1] === "enqueue")) {
|
||||
const shown = ["codex", parts[1]];
|
||||
const shownValueOptions = new Set([
|
||||
|
||||
Reference in New Issue
Block a user