gemini -p 'What does this do?' @script.sh

Category: Gemini CLI

gemini -p 'What does this do?' @script.sh

Non-interactive prompt with a file as context via @ syntax

Passes a file as context using the @ syntax and asks a question about it in a single non-interactive call.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.