/rust-text2checkstyle_cli

$ text2checkstyle

Primary LanguageRustApache License 2.0Apache-2.0

text2checkstyle_cli

crates version Travis-CI Status Appveyor Status license

Convert text to checkstyle format.

For some command line tools. E.g. saddler, reviewdog

See text2checkstyle for the programmatic API.

Example

$ echo -n 'example' | text2checkstyle
<?xml version="1.0"?><checkstyle><file name="path/to/file"><error column="0" line="0" message="example" severity="info" source="TextToCheckstyle"/></file></checkstyle>

Install

Download from Latest release for your own environment.

or

$ cargo install text2checkstyle_cli

CLI

text2checkstyle_cli
cli for text to checkstyle.

USAGE:
    text2checkstyle [OPTIONS] [FILE]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --column <COLUMN>         [default: 0]
        --line <LINE>             [default: 0]
        --name <NAME>             [default: path/to/file]
        --severity <SEVERITY>     [default: info]
        --source <SOURCE>         [default: TextToCheckstyle]

ARGS:
    <FILE>

changelog

changelog

License

MIT/Apache-2.0 © sanemat