1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

add module usage info to docs

This commit is contained in:
Kelly Brazil
2020-08-05 13:32:59 -07:00
parent 7432442983
commit 7131c29718
114 changed files with 686 additions and 116 deletions

View File

@ -1,9 +1,14 @@
"""jc - JSON CLI output utility netstat Parser
Usage:
Usage (cli):
Specify --netstat as the first argument if the piped input is coming from netstat
Usage (module):
import jc.parsers.netstat
result = jc.parsers.netstat.parse(netstat_command_output)
Caveats:
- Use of multiple 'l' options is not supported on OSX (e.g. 'netstat -rlll')