feat(cli): undeprecate the --prompt flag (#13981)

Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
Alex Austin Chettiar
2026-01-15 04:39:27 +05:30
committed by GitHub
parent fb7640886b
commit a2dab146b9
4 changed files with 1 additions and 78 deletions
-4
View File
@@ -689,9 +689,6 @@ export async function main() {
debugLogger.log('Session ID: %s', sessionId);
}
const hasDeprecatedPromptArg = process.argv.some((arg) =>
arg.startsWith('--prompt'),
);
initializeOutputListenersAndFlush();
await runNonInteractive({
@@ -699,7 +696,6 @@ export async function main() {
settings,
input,
prompt_id,
hasDeprecatedPromptArg,
resumedSessionData,
});
// Call cleanup before process.exit, which causes cleanup to not run