Metadata-Version: 2.5
Name: rio-cli
Version: 0.1.0
Summary: Command-line client for Rio, an automated code review tool.
Project-URL: Homepage, https://github.com/JayTheCoder77/rio
Project-URL: Repository, https://github.com/JayTheCoder77/rio
Author: JayTheCoder77
License-Expression: ISC
License-File: LICENSE
Requires-Python: <3.13,>=3.12
Requires-Dist: httpx>=0.28.1
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=15.0.0
Requires-Dist: rio-review-core<0.2.0,>=0.1.0
Requires-Dist: typer>=0.27.1
Description-Content-Type: text/markdown

# rio-cli

The command-line client for [Rio](https://github.com/JayTheCoder77/rio), an automated
code review tool. Review your local diffs from the terminal, backed by the same
AI review engine used by Rio's GitHub App.

## Installation

```sh
pip install rio-cli
```

This installs the `rio` command.

## Usage

```sh
# Review currently staged changes
rio review --staged

# Review uncommitted changes (staged + unstaged)
rio review --uncommitted

# Review the last commit
rio review --committed

# Review a diff from a file
rio review --diff path/to.diff

# Include untracked files alongside any of the above
rio review --staged --include-untracked
```

## Configuration

Rio reads `~/.config/rio/config.toml` for the AI engine URL and API key:

```toml
[api]
url = "https://your-rio-instance.example.com"
api_key = "your-api-key"
```

If no config file is found, the CLI defaults to `http://localhost:8000` for local
development against a self-hosted `ai-engine`.

## License

[ISC](LICENSE) © 2026 JayTheCoder77
