1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00
Commit Graph

3873 Commits

Author SHA1 Message Date
cae41df1d8 add get_parser tests 2024-02-06 01:54:31 +00:00
8e9ff7fa9f refactor to use get_parser() 2024-02-06 01:54:31 +00:00
973c535c72 extract to public jc.get_parser(parser_name) (#516)
* remove unused imports and RegEx

* extract to public jc.get_parser(parser_name)

* changed order of exports

* add doc

* add doc.md

* remove data_dir from doc.md

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-02-06 01:54:31 +00:00
8614d3dde9 remove unused imports and RegEx (#515) 2024-02-06 01:54:31 +00:00
a73ee47bcf move slurp error message so it will work for all parser types 2024-02-06 01:54:31 +00:00
d54a81831f update slicer to use utils.line_slice() 2024-02-06 01:54:31 +00:00
73ae1396b9 enhance slurp error message 2024-02-06 01:54:31 +00:00
3399e8551e add slurpable_parser_mod_list test 2024-02-06 01:54:31 +00:00
b9656c2fae add line_slice tests 2024-02-06 01:54:31 +00:00
e08ccb7942 add slurp test. fix cli_json_out_pretty test 2024-02-06 01:54:31 +00:00
9b648e8560 doc update 2024-02-06 01:54:31 +00:00
c97a8fb48f add line_slice function 2024-02-06 01:54:31 +00:00
3a95407161 back out slurp array flattening code 2024-02-06 01:54:31 +00:00
7609af28b3 doc update 2024-02-06 01:54:31 +00:00
c2b2e81a2b add more slurpable parsers 2024-02-06 01:54:31 +00:00
3b0594a4a6 flatten slurp output if parser outputs a list 2024-02-06 01:54:31 +00:00
2b0b9dd7ba doc update 2024-02-06 01:54:31 +00:00
f159dd6b9d Add plugins support 4 snapcraft (#512)
* Added `snap` support.

* Added plugins support.

* Add README 4 snap.

---------

Co-authored-by: Kelly Brazil <kellyjonbrazil@gmail.com>
2024-02-06 01:54:31 +00:00
2d5d87c73d version bump and doc update 2024-02-06 01:54:31 +00:00
a260ceba1c add slurp functionality 2024-02-06 01:54:31 +00:00
6c30b8106c use PurePosixPath to fix tests running on Windows 2024-02-06 01:54:31 +00:00
a23921c879 doc update 2024-02-06 01:54:31 +00:00
3999276d17 add parent, filename, stem, and extension to schema 2024-02-06 01:54:31 +00:00
65bd4850f2 doc update 2024-02-06 01:54:31 +00:00
d71c2d2b20 add kv_dup tests 2024-02-06 01:54:31 +00:00
6dd5b29998 fix to make None values always a blank string 2024-02-06 01:54:31 +00:00
1868b28f74 doc fix 2024-02-06 01:54:31 +00:00
e8c0bef6ca doc update 2024-02-06 01:54:31 +00:00
2c09a06b5a add kv_dup parser 2024-02-06 01:54:31 +00:00
fc75ce90d1 refactor alias parsers 2024-02-06 01:54:31 +00:00
45a6cfc9cf add source info to docs 2024-02-06 01:54:31 +00:00
69a0922410 doc update 2024-02-06 01:54:31 +00:00
2bb201a706 fix parser source path 2024-02-06 01:54:31 +00:00
50d5d3a3ba add opposite endian ipv6 addresses for s390x and other Big Endian architecture support 2024-02-06 01:54:31 +00:00
b14a8980b8 add more info for unit tests 2024-02-06 01:54:31 +00:00
de6aa1cc92 change \n to echo to create new lines 2024-02-06 01:54:31 +00:00
c4dcedb269 Update docgen.sh: add link to source 2024-02-06 01:54:31 +00:00
140a61702b Revert "More nsd fixes" (#526) 2024-01-26 14:22:13 -08:00
4d3fc07e3b More nsd fixes (#523)
* Update nsd_control.py

support catz output

* Update nsd_control.py

fix parsing of catz zones

* add testdata

add corresponding catz testdata
2024-01-26 14:20:33 -08:00
dcc4d35d55 Merge branch 'dev' into master 2023-12-21 22:02:56 +00:00
cfb30b32f3 Update CONTRIBUTING.md (#509)
* Update CONTRIBUTING.md

fix:
- bullet points
- fix link to custom plugins
- add info about appending to `jc/lib.py`

* Update CONTRIBUTING.md

fix numbering

* typo: lowercase
2023-12-21 07:42:04 -08:00
26f2738471 Merge pull request #502 from kellyjonbrazil/master
sync to dev
2023-12-18 20:13:45 +00:00
2bccd14c5d Merge pull request #499 from kellyjonbrazil/dev
v1.24.0
v1.24.0
2023-12-17 18:08:02 +00:00
0d4823c9de doc update 2023-12-17 09:44:18 -08:00
2a14f56b72 add proc-cmdline tests 2023-12-16 13:18:14 -08:00
fe49759598 doc update 2023-12-16 12:59:35 -08:00
ee737a59eb doc update 2023-12-16 12:55:29 -08:00
517ab10930 add proc-cmdline parser 2023-12-16 12:09:37 -08:00
604fb574be doc update 2023-12-16 11:44:11 -08:00
a254ee8d88 add test for issue 490 2023-12-16 11:39:40 -08:00