# binary_version_checker

Create a builder to check binary version requirements.

```rhai
binary_version_checker(command: &str) -> BinaryVersionChecker
```

## Builder Methods

- `.min_version(version)` - Set minimum required version (required)
- `.output_line_filter(regex)` - Filter output lines before version extraction (optional)
- `.check()` - Execute the version check

## Examples

```rhai
if binary_version_checker("go version")
    .min_version("1.25.5")
    .check()? {
    print("Go version OK");
}
```

```rhai
binary_version_checker("rustc --version")
    .min_version("1.92.0")
    .output_line_filter("rustc")
    .check()?;
```
