fix(cli): gemini command stuck in git bash (#6397)

Co-authored-by: Arya Gummadi <aryagummadi@google.com>
This commit is contained in:
Sudheer Tripathi
2025-08-23 05:49:20 +05:30
committed by GitHub
parent da73f13d02
commit d89f7ea9b5
5 changed files with 198 additions and 78 deletions

View File

@@ -342,7 +342,9 @@ export async function main() {
}
}
if (!input) {
console.error('No input provided via stdin.');
console.error(
`No input provided via stdin. Input can be provided by piping data into gemini or using the --prompt option.`,
);
process.exit(1);
}