mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
formatting
This commit is contained in:
@ -177,13 +177,9 @@ or
|
|||||||
JC_COLORS=default,default,default,default
|
JC_COLORS=default,default,default,default
|
||||||
```
|
```
|
||||||
|
|
||||||
## Contributions
|
|
||||||
Feel free to add/improve code or parsers! You can use the [`jc/parsers/foo.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo.py) parser as a template and submit your parser with a pull request.
|
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
Some parsers like `ls`, `ps`, `dig`, etc. will work on any platform. Other parsers that are platform-specific will generate a warning message if they are used on an unsupported platform. To see all parser information, including compatibility, run `jc -ap`.
|
Some parsers like `ls`, `ps`, `dig`, etc. will work on any platform. Other parsers that are platform-specific will generate a warning message if they are used on an unsupported platform. To see all parser information, including compatibility, run `jc -ap`.
|
||||||
|
|
||||||
|
|
||||||
You may still use a parser on an unsupported platform - for example, you may want to parse a file with linux `lsof` output on an OSX laptop. In that case you can suppress the warning message with the `-q` cli option or the `quiet=True` function parameter in `parse()`:
|
You may still use a parser on an unsupported platform - for example, you may want to parse a file with linux `lsof` output on an OSX laptop. In that case you can suppress the warning message with the `-q` cli option or the `quiet=True` function parameter in `parse()`:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -193,9 +189,13 @@ $ cat lsof.out | jc --lsof -q
|
|||||||
Tested on:
|
Tested on:
|
||||||
- Centos 7.7
|
- Centos 7.7
|
||||||
- Ubuntu 18.4
|
- Ubuntu 18.4
|
||||||
|
- Fedora32
|
||||||
- OSX 10.11.6
|
- OSX 10.11.6
|
||||||
- OSX 10.14.6
|
- OSX 10.14.6
|
||||||
|
|
||||||
|
## Contributions
|
||||||
|
Feel free to add/improve code or parsers! You can use the [`jc/parsers/foo.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/foo.py) parser as a template and submit your parser with a pull request.
|
||||||
|
|
||||||
## Acknowledgments
|
## Acknowledgments
|
||||||
- CI automation and code optimizations from https://github.com/philippeitis
|
- CI automation and code optimizations from https://github.com/philippeitis
|
||||||
- `ifconfig-parser` module from https://github.com/KnightWhoSayNi/ifconfig-parser
|
- `ifconfig-parser` module from https://github.com/KnightWhoSayNi/ifconfig-parser
|
||||||
|
Reference in New Issue
Block a user