Crates.io | ryl |
lib.rs | ryl |
version | 0.2.0 |
created_at | 2025-09-07 13:21:04.465034+00 |
updated_at | 2025-09-10 11:30:35.282936+00 |
description | Fast YAML linter written in Rust |
homepage | |
repository | https://github.com/owenlamont/ryl |
max_upload_size | |
id | 1828123 |
size | 57,314 |
ryl - the Rust Yaml Linter is intended to ultimately be a drop in replacement for yamllint. It's only just begun and isn't ready for use yet though. I'll update and post info as it becomes ready.
ryl accepts one or more paths: files and/or directories.
Basic:
ryl <PATH_OR_FILE> [PATH_OR_FILE...]
Behavior:
.yml
/.yaml
..yml
and .yaml
files.
.gitignore
, global git ignores, and git excludes.Exit codes:
0
when all parsed files are valid (or no files found).1
when any invalid YAML is found.2
for CLI usage errors (for example, no paths provided).Examples:
# Single file
ryl myfile.yml
# Multiple inputs (mix files and directories)
ryl config/ another.yml
# Multiple directories
ryl dir1 dir2
# Explicit non-YAML extension (parsed as YAML)
ryl notes.txt
Help and version:
ryl -h
or ryl --help
shows auto-generated help.ryl -V
or ryl --version
prints the version.The CLI is built with clap
, which auto-generates --help
and --version
.