mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
doc update
This commit is contained in:
10
CHANGELOG
10
CHANGELOG
@ -1,6 +1,6 @@
|
|||||||
jc changelog
|
jc changelog
|
||||||
|
|
||||||
20240129 v1.24.1
|
20240131 v1.24.1
|
||||||
- Add `--slurp` functionality to wrap output from multiple lines into a single array.
|
- Add `--slurp` functionality to wrap output from multiple lines into a single array.
|
||||||
Note, this only works with single-line input parsers. (e.g. `date`, `ip-address`, `url`, etc.)
|
Note, this only works with single-line input parsers. (e.g. `date`, `ip-address`, `url`, etc.)
|
||||||
Streaming parsers are not supported. Use `jc -hhh` to find parsers compatible with the slurp option.
|
Streaming parsers are not supported. Use `jc -hhh` to find parsers compatible with the slurp option.
|
||||||
@ -14,6 +14,10 @@ jc changelog
|
|||||||
- Add `kv-dup` parser for Key/Value files with duplicate keys
|
- Add `kv-dup` parser for Key/Value files with duplicate keys
|
||||||
- Add `path` string parser to parse posix path
|
- Add `path` string parser to parse posix path
|
||||||
- Add `path-list` string parser to parse path list strings found in env variables
|
- Add `path-list` string parser to parse path list strings found in env variables
|
||||||
|
- Add source link to online parser documentation
|
||||||
|
- Add snap package build scripts
|
||||||
|
- Add `line_slice` function to `utils.py`
|
||||||
|
- Add `get_parser` function to `lib.py`
|
||||||
- Enhance `nsd-control` parser to support more zone information
|
- Enhance `nsd-control` parser to support more zone information
|
||||||
- Enhance `ping` and `ping-s` parsers to support the `-I` command option
|
- Enhance `ping` and `ping-s` parsers to support the `-I` command option
|
||||||
- Enhance `proc-net-tcp` parser to add opposite endian support for architectures
|
- Enhance `proc-net-tcp` parser to add opposite endian support for architectures
|
||||||
@ -21,11 +25,7 @@ jc changelog
|
|||||||
- Enhance `url` parser to add `parent`, `filename`, `stem`, and `extension` fields
|
- Enhance `url` parser to add `parent`, `filename`, `stem`, and `extension` fields
|
||||||
- Fix `ini` and `ini-dup` parsers to consistently handle null values as empty strings
|
- Fix `ini` and `ini-dup` parsers to consistently handle null values as empty strings
|
||||||
- Fix line slicer to not skip blank lines
|
- Fix line slicer to not skip blank lines
|
||||||
- Add source link to online parser documentation
|
|
||||||
- Add snap package build scripts
|
|
||||||
- Refactor parser aliases for `kv`, `pkg_index_deb`, `lsb_release`, and `os-release`
|
- Refactor parser aliases for `kv`, `pkg_index_deb`, `lsb_release`, and `os-release`
|
||||||
- Add `line_slice` function to `utils.py`
|
|
||||||
- Add `get_parser` function to `lib.py`
|
|
||||||
- Update copyright date
|
- Update copyright date
|
||||||
|
|
||||||
20231216 v1.24.0
|
20231216 v1.24.0
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
|
|
||||||
> Try the `jc` [web demo](https://jc-web.onrender.com/) and [REST API](https://github.com/kellyjonbrazil/jc-restapi)
|
> Try the `jc` [web demo](https://jc-web.onrender.com/) and [REST API](https://github.com/kellyjonbrazil/jc-restapi)
|
||||||
|
|
||||||
> `jc` is [now available](https://galaxy.ansible.com/community/general) as an
|
> `jc` is available as an
|
||||||
Ansible filter plugin in the `community.general` collection. See this
|
[Ansible filter plugin](https://docs.ansible.com/ansible/latest/collections/community/general/jc_filter.html#ansible-collections-community-general-jc-filter)
|
||||||
|
in the `community.general` collection. See this
|
||||||
[blog post](https://blog.kellybrazil.com/2020/08/30/parsing-command-output-in-ansible-with-jc/)
|
[blog post](https://blog.kellybrazil.com/2020/08/30/parsing-command-output-in-ansible-with-jc/)
|
||||||
for an example.
|
for an example.
|
||||||
|
|
||||||
|
2
man/jc.1
2
man/jc.1
@ -1,4 +1,4 @@
|
|||||||
.TH jc 1 2024-01-30 1.24.1 "JSON Convert"
|
.TH jc 1 2024-02-01 1.24.1 "JSON Convert"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
|
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
|
||||||
and strings
|
and strings
|
||||||
|
@ -5,8 +5,9 @@
|
|||||||
|
|
||||||
> Try the `jc` [web demo](https://jc-web.onrender.com/) and [REST API](https://github.com/kellyjonbrazil/jc-restapi)
|
> Try the `jc` [web demo](https://jc-web.onrender.com/) and [REST API](https://github.com/kellyjonbrazil/jc-restapi)
|
||||||
|
|
||||||
> `jc` is [now available](https://galaxy.ansible.com/community/general) as an
|
> `jc` is available as an
|
||||||
Ansible filter plugin in the `community.general` collection. See this
|
[Ansible filter plugin](https://docs.ansible.com/ansible/latest/collections/community/general/jc_filter.html#ansible-collections-community-general-jc-filter)
|
||||||
|
in the `community.general` collection. See this
|
||||||
[blog post](https://blog.kellybrazil.com/2020/08/30/parsing-command-output-in-ansible-with-jc/)
|
[blog post](https://blog.kellybrazil.com/2020/08/30/parsing-command-output-in-ansible-with-jc/)
|
||||||
for an example.
|
for an example.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user