CLI Usage

Tombi's linter can be run via the CLI.

# If you have `tombi.toml` in your project, Lint all TOML files in the project,
# if not, it will lint all TOML files in the current directory
tombi lint

# Lint a single file
tombi lint path/to/file.toml

# Lint multiple files
tombi lint path/to/file1.toml path/to/file2.toml

# Lint all TOML files in a directory
tombi lint .

# Lint files using glob pattern
tombi lint **/*.toml

# Lint from standard input
cat Cargo.toml | tombi lint -