gemini -p "$(cat requirements.txt)" 'Generate a Docker setup for these dependencies'
Pass file contents into an agent prompt via command substitution
$(cat file) substitutes the file's contents into the prompt string. This is how you feed local context (requirements, logs, configs) into CLI-based agents. For large files, use --context-file flags where available instead.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.