> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 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

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai "Summarize this document" --file document.txt
```

## Usage

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai "Summarize the key points" --file report.txt
```

### Analyze Code

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai "Review this code for bugs" -f main.py
```

### Process Multiple Files with @mentions

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# 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
```

<Note>
  For including multiple files, use @mentions syntax: `@file1.txt @file2.txt`
</Note>
