+
Skip to content

blablatdinov/lira

Repository files navigation

Lira

Lira is a CLI tool that filters linter errors based on a specified line range.

Features

  • Reads linter errors from stdin
  • Filters errors within a given --line-range
  • Supports various linters

Installation

cargo install --path .

Usage

Basic usage

linter_command file.py | lira --line-range 10-20

Example:

If a linter outputs:

file.rs:5: error: Something went wrong
file.rs:15: warning: Consider refactoring
file.rs:25: error: Unexpected behavior

Running:

linter_command | lira --line-range 10-20

Will output:

file.rs:15: warning: Consider refactoring

Options

Usage: lira [OPTIONS]

Options:
  -l, --line-range <LINE_RANGE>  Filter errors within the specified line range
  -h, --help                     Print help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载