9 releases (3 stable)
Uses old Rust 2015
1.1.1 | Oct 21, 2017 |
---|---|
1.1.0 | Oct 14, 2017 |
0.1.0 | Oct 13, 2017 |
0.0.10 | Oct 12, 2017 |
#1 in #checkstyle
22 downloads per month
8KB
73 lines
text2checkstyle_cli
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
License
MIT/Apache-2.0 © sanemat
Dependencies
~9–14MB
~244K SLoC