mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 05:42:54 -07:00
feat(cli) Custom Commands work in Non-Interactive/Headless Mode (#8305)
This commit is contained in:
@@ -465,7 +465,7 @@ export async function main() {
|
||||
console.log('Session ID: %s', sessionId);
|
||||
}
|
||||
|
||||
await runNonInteractive(nonInteractiveConfig, input, prompt_id);
|
||||
await runNonInteractive(nonInteractiveConfig, settings, input, prompt_id);
|
||||
// Call cleanup before process.exit, which causes cleanup to not run
|
||||
await runExitCleanup();
|
||||
process.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user