Metadata-Version: 2.4
Name: signbuddy
Version: 1.0.0
Summary: CLI for verifying SignBuddy-signed PDF documents
Author: SignBuddy
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0

# SignBuddy CLI

Verify whether a PDF was signed and recorded through [SignBuddy](https://signbuddy.eu).

## Install

```bash
pip install signbuddy
```

Or from local source:

```bash
git clone <your-repo-url>
cd signbuddy
pip install .
```

## Usage

No setup required — the CLI talks to the SignBuddy API out of the box.

```bash
signbuddy --verify AGR-1234567890 /path/to/document.pdf
```

The contract number is printed on the signed document (format `AGR-` followed by 10 digits).

### Exit codes

| Code | Meaning                                  |
| ---- | ---------------------------------------- |
| `0`  | Document verified                        |
| `1`  | Document not verified                    |
| `2`  | Invalid input (file missing / not a PDF) |
| `3`  | Could not reach the API / API error      |

## Options

| Option               | Description                          |
| -------------------- | ------------------------------------ |
| `--timeout <secs>`   | HTTP timeout in seconds (default 30) |
| `--version`          | Print the CLI version                |
| `-h`, `--help`       | Show help                            |
