jc
https://github.com/kellyjonbrazil/jc
Python
CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to jc
Help out
- Issues
- du: preserve whitespace belonging to filenames
- ping parser raises IndexError on output shorter than three lines
- systeminfo and top parsers crash on output cut short (and systeminfo on any output with no time zone)
- fix(systeminfo,top): tolerate output that was cut short
- df parser raises AttributeError on any row with fewer fields than the header
- date parser raises AttributeError instead of ParseError on formats it cannot parse (date -I, non-C locales)
- fix(lsblk): do not raise KeyError when the NAME header is missing
- ls: the last character of a filename is dropped when an empty directory follows in ls -lR output
- add ansible-playbook --list-tags parser
- add --progress and --info=progress2 support to rsync-s
- Docs
- Python not yet supported