From c419e460db6434a722a7db17d3cc83653bc43b53 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Thu, 1 Feb 2024 09:45:16 -0800 Subject: [PATCH] doc update --- CHANGELOG | 10 +++++----- README.md | 5 +++-- man/jc.1 | 2 +- templates/readme_template | 5 +++-- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 9ee7d51c..864eb160 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,6 @@ jc changelog -20240129 v1.24.1 +20240131 v1.24.1 - 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.) 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 `path` string parser to parse posix path - 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 `ping` and `ping-s` parsers to support the `-I` command option - 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 - Fix `ini` and `ini-dup` parsers to consistently handle null values as empty strings - 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` -- Add `line_slice` function to `utils.py` -- Add `get_parser` function to `lib.py` - Update copyright date 20231216 v1.24.0 diff --git a/README.md b/README.md index e769d4a1..91fd6d6f 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,9 @@ > 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 -Ansible filter plugin in the `community.general` collection. See this +> `jc` is available as an +[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/) for an example. diff --git a/man/jc.1 b/man/jc.1 index b4752c89..ba7c089f 100644 --- a/man/jc.1 +++ b/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 \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings diff --git a/templates/readme_template b/templates/readme_template index 73b6e1b8..1ea9f146 100644 --- a/templates/readme_template +++ b/templates/readme_template @@ -5,8 +5,9 @@ > 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 -Ansible filter plugin in the `community.general` collection. See this +> `jc` is available as an +[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/) for an example.