1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00
Commit Graph

3074 Commits

Author SHA1 Message Date
Kelly Brazil dd70bf92f3 doc update 2022-10-15 14:43:45 -07:00
Kelly Brazil 0a97523928 doc update 2022-10-15 14:36:35 -07:00
Kelly Brazil f67bd02283 More granular type annotations 2022-10-15 14:34:09 -07:00
Kelly Brazil ef1055a9b6 more granular type annotations 2022-10-15 14:06:38 -07:00
Kelly Brazil cd970b5871 TypedDict fixup for older python versions 2022-10-15 13:53:56 -07:00
Kelly Brazil 11b0863a65 Use TypedDict for more granular typing 2022-10-15 13:44:44 -07:00
Kelly Brazil 5b8cb497de add more type annotations 2022-10-14 17:28:34 -07:00
Kelly Brazil 38e2addbb6 simplify type annotation for MetadataType 2022-10-14 17:23:38 -07:00
Kelly Brazil 58158ce8b1 add type annotations 2022-10-14 17:12:58 -07:00
Kelly Brazil 5ca281f02e add type annotations 2022-10-14 15:54:26 -07:00
Kelly Brazil ac39ce6b98 formatting 2022-10-14 14:07:05 -07:00
Kelly Brazil 38fb0a6828 allow parser module as parse() argument 2022-10-14 14:05:16 -07:00
Kelly Brazil 38c41cfaf4 formatting 2022-10-14 13:49:10 -07:00
Kelly Brazil 95ba628ac3 add more type annotations 2022-10-14 13:38:05 -07:00
Kelly Brazil a53f2ecbaf split slot info 2022-10-12 09:07:17 -07:00
Kelly Brazil aa1ff55bbe lower-case key names 2022-10-12 08:48:42 -07:00
Kelly Brazil 097d013447 remove bail if a, h, or v in magic_options to keep from confusing behavior 2022-10-11 17:18:55 -07:00
Kelly Brazil 3916623c46 remove multiple ands in conditional 2022-10-11 16:22:10 -07:00
Kelly Brazil 42c50c5fa1 remove unneeded fields 2022-10-11 13:44:28 -07:00
Kelly Brazil ea515bbecc add show_hidden and show_deprecated tests 2022-10-11 12:19:11 -07:00
Kelly Brazil 9f8006060b deprecated parser support in lib 2022-10-10 16:34:32 -07:00
Kelly Brazil 6cd51c4426 add ip_split field 2022-10-10 12:21:02 -07:00
Kelly Brazil b1e96bb50c add ip_split field 2022-10-10 12:19:39 -07:00
Kelly Brazil 50d3bda3b7 prefix ids with underscores for easier querying with jq, etc. 2022-10-10 11:37:33 -07:00
Kelly Brazil 3dfa4a1bbc rename iso-datetime to datetime-iso 2022-10-09 11:05:32 -07:00
Kelly Brazil d1922acfc8 add datetime_iso tests 2022-10-09 11:03:31 -07:00
Kelly Brazil 3947e424e7 rename iso-datetime parser to datetime-iso 2022-10-09 11:00:02 -07:00
Kelly Brazil 25e202a09e doc update 2022-10-08 09:04:21 -07:00
Kelly Brazil 8eab3c1590 fixes for cli refactor 2022-10-08 09:04:04 -07:00
Kelly Brazil 4f294aa0ef add pci_ids parser 2022-10-07 16:36:46 -07:00
Kelly Brazil 81aa09a2e2 initial lspci parser 2022-10-07 13:06:20 -07:00
Kelly Brazil 10fc8cb48d add udevadm parser 2022-10-07 11:28:56 -07:00
Kelly Brazil 186f0708cc doc update 2022-10-07 09:34:42 -07:00
Kelly Brazil 622b3ff9ed add __slots__ to timestamp class 2022-10-06 09:05:36 -07:00
Kelly Brazil c06963c3d6 doc update 2022-10-04 15:16:35 -07:00
Kelly Brazil 9009313748 move error codes from attribute to global constant 2022-10-04 15:04:00 -07:00
Kelly Brazil d55a8c3079 clean up exit methods 2022-10-04 14:52:51 -07:00
Kelly Brazil fee6a61f19 Merge pull request #299 from kellyjonbrazil/cli-refactor
Cli refactor
2022-10-04 21:18:58 +00:00
Kelly Brazil 6f1ef09d2a formatting 2022-10-04 14:13:48 -07:00
Kelly Brazil cf6c13e605 remove old cli module 2022-10-04 14:07:02 -07:00
Kelly Brazil 028f55910a fix for rare instances when the output is a list of lists (yaml | yaml -> json) 2022-10-04 12:14:32 -07:00
Kelly Brazil d7684d39a8 set magic_run_command_str in magic_parser 2022-10-04 11:48:36 -07:00
Kelly Brazil f652ccd4b1 fix tests for env_colors 2022-10-04 11:39:50 -07:00
Kelly Brazil 6be92498bc remove self.env_colors attribute 2022-10-04 11:32:18 -07:00
Kelly Brazil 677e04ab7d cleanup 2022-10-04 11:15:37 -07:00
Kelly Brazil 46fdc457fc fix exit codes 2022-10-04 10:10:59 -07:00
Kelly Brazil 0306b6b73b simplify file open method 2022-10-04 09:38:46 -07:00
Kelly Brazil c881653d55 simplify the run() method 2022-10-04 09:26:40 -07:00
Kelly Brazil 7650d831e3 add slots 2022-10-03 18:03:06 -07:00
Kelly Brazil e7a8cc3b8b fix unbuffer 2022-10-03 17:38:55 -07:00