将原始CLI输出标准化为JSON格式,以便进行可靠的下游解析和自动化处理
Uses jc to turn command output and supported file formats into structured JSON so an agent can filter, diff, validate, and store results without brittle regex parsing. Best when a workflow already depends on standard CLI tools but needs machine-readable output for the next step.
Installation
Requirements and caveats from upstream:
- Check out the jc Python package documentation for developers
- jc can also be used as a python library. In this case the returned value
- will be a python dictionary, a list of dictionaries, or even a
Basic usage or getting-started notes:
- for an example.
- dig example.com | jc --dig
- {"name":"example.com.","class":"IN","type":"A"},"answer":[{"name":
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/kellyjonbrazil/jc/HEAD/README.md
Documentation
- https://github.com/1991513ccie-png/skills