1 unstable release
| 0.1.0 | Nov 28, 2025 |
|---|
#12 in #cli-validation
Used in toon-validate
53KB
1.5K
SLoC
toon-validate-cli
Command-line interface for TOON validation and analysis.
toon-validate
Command-line TOON Validator for structure validation, token analysis, and file profiling.
The tval binary provides fast validation and analysis of TOON and JSON files.
Requirements
- Rust toolchain (stable)
Build
cargo build --release
Binary: target/release/tval
Commands
tval analyze <file> # analyze single file
tval profile <dir> # analyze directory
tval check <file> # validate structure
Flags
--in=toon|json- input format (default: auto)--json- JSON output--ext=<list>- file extensions for profile (default: .toon,.json)
Exit codes
- 0: success
- 1: IO/parse error
- 2: validation error
Tests
cargo test
./test.sh
Dependencies
~4–7.5MB
~116K SLoC