File Input
Read input from files and append to prompts
The --file or -f flag reads content from a file and appends it to your prompt.
Quick Start
praisonai "Summarize this document" --file document.txtUsage
praisonai "<prompt>" --file <path> [options]
praisonai "<prompt>" -f <path> [options]Options
| Option | Description |
|---|---|
--file, -f | Path to file to read and append to prompt |
Examples
Summarize a Document
praisonai "Summarize the key points" --file report.txtAnalyze Code
praisonai "Review this code for bugs" -f main.pyProcess Multiple Files with @mentions
praisonai "Compare these files @file1.txt @file2.txt"Supported File Types
- Text files (.txt, .md, .csv)
- Code files (.py, .js, .ts, .go, etc.)
- Configuration files (.yaml, .json, .toml)
- Any text-based file
Combining with Other Features
# With research mode
praisonai "Analyze this data" --file data.csv --research
# With tools
praisonai "Process this file" --file input.txt --tools tools.py
# With verbose output
praisonai "Explain this code" -f script.py --verbose