code-preview 0.1.0

A powerful CLI tool to preview code files with syntax highlighting, line numbers, and built-in search.
# Code Preview CLI

A Rust CLI tool for previewing code with syntax highlighting, line numbers, and search functionality.

## Features
- Syntax highlighting (using `syntect`)
- Line numbers (the "régua")
- Search in-file (the "busca embutida")

## Installation & Running

1. Ensure you have Rust and Cargo installed.
2. Clone this repository or copy the files.
3. Build and run:
   ```bash
   cargo run -- path/to/file.rs --search "fn main"
   ```

## Usage
```bash
Usage: code-preview [OPTIONS] <FILE>

Arguments:
  <FILE>  The file to preview

Options:
  -s, --search <SEARCH>  Search for a pattern in the file
  -t, --theme <THEME>    The theme to use for highlighting [default: base16-ocean.dark]
      --list-themes      List all available themes
  -h, --help             Print help
```