mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 21:14:35 -07:00
feat(cli): undeprecate the --prompt flag (#13981)
Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
committed by
GitHub
parent
fb7640886b
commit
a2dab146b9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user