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

1807 Commits

Author SHA1 Message Date
Kelly Brazil 1baec0b420 add some streaming tests 2021-09-21 15:43:02 -07:00
Kelly Brazil 4f2a4e1dee skip blank lines and warning lines 2021-09-21 15:42:45 -07:00
Kelly Brazil 758d617668 doc update 2021-09-21 13:29:50 -07:00
Kelly Brazil 55322c37f5 formatting 2021-09-21 12:36:36 -07:00
Kelly Brazil d19ea5552b add streaming ls parser tests 2021-09-21 12:33:05 -07:00
Kelly Brazil 130c3527c1 update docstrings 2021-09-21 12:32:34 -07:00
Kelly Brazil 3f221f4714 doc update 2021-09-20 13:21:20 -07:00
Kelly Brazil d64c4cb390 add streaming parsers section 2021-09-20 13:04:26 -07:00
Kelly Brazil 448c56aa46 formatting 2021-09-20 13:04:14 -07:00
Kelly Brazil 9fbea15b6d rename state class to _state 2021-09-20 11:59:54 -07:00
Kelly Brazil 932060314b doc update 2021-09-20 11:51:27 -07:00
Kelly Brazil 5e68ae5009 import exception. tighten up os detection 2021-09-20 11:42:15 -07:00
Kelly Brazil d03541beae add docstring examples. add exception raise when OS cannot be detected. 2021-09-20 11:24:59 -07:00
Kelly Brazil 516fa571d9 remove unused variable. use elif instead of if for linux vs. bsd detection 2021-09-19 21:41:35 -07:00
Kelly Brazil a19c12096a initial working parser for both linux and bsd 2021-09-19 13:18:23 -07:00
Kelly Brazil 758f27945d change data_bytes and bytes to sent_bytes and response_bytes 2021-09-17 15:09:56 -07:00
Kelly Brazil 8b1e8d58df remove unneeded line 2021-09-17 14:44:49 -07:00
Kelly Brazil b967489d08 complete linux coverage including summary 2021-09-17 14:42:30 -07:00
Kelly Brazil 870d0218be add unbuffer note 2021-09-17 10:34:05 -07:00
Kelly Brazil 84020bc2af change error_msg to error in -q result docs 2021-09-17 10:26:47 -07:00
Kelly Brazil 4efe5344e0 add links to HN and Reddit 2021-09-17 10:20:22 -07:00
Kelly Brazil 9182c54513 formatting 2021-09-17 08:24:56 -07:00
Kelly Brazil 28f0ab0b02 update streaming error messages 2021-09-17 08:21:13 -07:00
Kelly Brazil 90d1a30696 formatting 2021-09-17 08:05:23 -07:00
Kelly Brazil 130b3738cc shorten successful yield to a single line 2021-09-16 22:32:46 -07:00
Kelly Brazil 92c7357615 formatting 2021-09-16 22:04:44 -07:00
Kelly Brazil c80f863334 simplify return condition formatting 2021-09-16 22:04:31 -07:00
Kelly Brazil 4642c20179 formatting 2021-09-16 21:55:40 -07:00
Kelly Brazil 5288eb22aa add info about streaming parser performance characteristics 2021-09-16 21:43:36 -07:00
Kelly Brazil df8387a1a9 streaming parsers cannot be used with the magic syntax 2021-09-16 21:37:54 -07:00
Kelly Brazil cc38c27f44 formatting 2021-09-16 21:33:57 -07:00
Kelly Brazil 64f5357d69 add streaming parsers section 2021-09-16 21:31:45 -07:00
Kelly Brazil 51debb5649 add vmstat parser and change from linebuffer to unbuffer 2021-09-16 20:45:01 -07:00
Kelly Brazil b48d05a431 change from line buffer output to unbuffer output 2021-09-16 20:41:56 -07:00
Kelly Brazil 4e7f6b337d simplify yield statements 2021-09-16 20:26:56 -07:00
Kelly Brazil a509d99caf add stream_success dictionary 2021-09-16 20:25:28 -07:00
Kelly Brazil 481e45fb64 limit parse error msg lenght 2021-09-14 06:02:55 -07:00
Kelly Brazil e9038e1720 initial streaming ping docs 2021-09-13 21:15:26 -07:00
Kelly Brazil 8fd9e582bf doc update 2021-09-13 21:15:08 -07:00
Kelly Brazil c1fd6f48a5 add stream_error docs 2021-09-13 21:14:56 -07:00
Kelly Brazil af615c7f4b add line buffer output option 2021-09-13 21:14:38 -07:00
Kelly Brazil bf0bc32d7a flush streamed text for better piping experience 2021-09-13 20:51:24 -07:00
Kelly Brazil 2d6b53e012 add pattern support. move unparsable line detection to standard streaming parser style 2021-09-13 19:50:51 -07:00
Kelly Brazil 51271fea0f somewhat working parser 2021-09-13 19:27:34 -07:00
Kelly Brazil 2deb473e0b initial streaming ping parser 2021-09-13 18:36:36 -07:00
Kelly Brazil 23eeb33b3d modify stream_error message 2021-09-13 18:36:19 -07:00
Kelly Brazil f50dfaef45 use stream_error function for exceptions. raise on non -l ls output 2021-09-13 18:31:52 -07:00
Kelly Brazil 55bb71e9d4 add streaming ping parser. update streaming exception message 2021-09-13 18:30:20 -07:00
Kelly Brazil dab9357d28 use stream_error function for exceptions 2021-09-13 18:29:49 -07:00
Kelly Brazil 27eb427245 add stream_error function 2021-09-13 18:29:10 -07:00