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

1866 Commits

Author SHA1 Message Date
95aec9c6f9 add info about Magic syntax not supporting shell builtins 2021-05-18 10:27:36 -07:00
4e9652a8ec spelling 2021-05-17 14:36:20 -07:00
773b7f4b1f add space before exit code table v1.15.4 2021-05-17 08:38:09 -07:00
d17ffde9cd Merge pull request #138 from kellyjonbrazil/dev
Dev v1.15.4
2021-05-17 08:35:13 -07:00
9c57c09c00 doc update for release 2021-05-17 08:24:31 -07:00
4d730a9de5 add UTC fix 2021-05-16 20:57:17 -07:00
fc57bcfce2 fix for when UTC is referenced as "Coordinated Universal Time" 2021-05-16 20:51:39 -07:00
fa5571486c simplify json_out function 2021-05-16 20:33:03 -07:00
9996c4fe23 update docs for shell builtins 2021-05-16 19:55:53 -07:00
038d429024 doc updates 2021-05-16 19:44:10 -07:00
9bf6facb0d remove magic command capability since dir is a shell builtin 2021-05-16 19:43:10 -07:00
965717886e add exceptions module info 2021-05-16 19:30:00 -07:00
e9bfc3dd29 add time format, dig compatibility, windows colors fix 2021-05-16 19:21:37 -07:00
f46b33eacf add windows time format 2021-05-16 19:20:13 -07:00
f475fe44df add new time format for systeminfo 2021-05-16 19:09:53 -07:00
5fdbe2962d make dig compatible with all platforms 2021-05-16 17:48:56 -07:00
ab291b9eef only force enable colors when running on windows 2021-05-16 17:48:40 -07:00
fd411fd772 attempt to get colors working on windows 2021-05-16 17:43:05 -07:00
b1e95a60a2 remove unnecessary comment 2021-05-13 08:42:27 -07:00
bb1439f0d5 use ParseError exception from jc.exceptions module 2021-05-13 08:20:58 -07:00
ba963d98a0 add exceptions module including ParseError 2021-05-13 08:20:35 -07:00
83440ccb55 error message capitalization 2021-05-13 08:02:38 -07:00
796f61bfa4 handle case where the user pipes data and uses magic syntax simultaneously 2021-05-12 17:01:09 -07:00
070cac4ae1 remove commented line 2021-05-12 15:36:06 -07:00
3ed84f9f42 reorganize main function. remove pass condition. 2021-05-12 15:19:11 -07:00
a205afb6f3 set run_command_str if run_command is set 2021-05-12 13:44:15 -07:00
a6d983dd8f move run_command_str variable 2021-05-12 13:38:08 -07:00
b6c8d6d01d add exception handling for filenotfound or other subprocess.popen and json.dumps exceptions 2021-05-12 13:18:58 -07:00
b5a5d5b133 set parser_name for magic syntax use 2021-05-12 11:36:27 -07:00
da528e7814 move separators to a variable 2021-05-12 09:40:22 -07:00
4acebf4f62 move variables 2021-05-12 08:48:49 -07:00
4d40808d2b update comments 2021-05-12 08:27:39 -07:00
c543f00bd3 simplify piped_output function 2021-05-11 14:30:46 -07:00
947cf41dfa add exit code info 2021-05-11 12:42:21 -07:00
8d8c58742e formatting 2021-05-11 11:32:08 -07:00
995ecc9bfb add exit codes section 2021-05-11 11:11:17 -07:00
21a15225eb add exit codes section 2021-05-11 10:59:26 -07:00
48921d4584 ensure exit code never exceeds 255 2021-05-11 10:50:35 -07:00
342db45edc fix combined exit codes 2021-05-11 10:36:55 -07:00
5f88ecf844 add comments to magic_parser return 2021-05-10 21:23:23 -07:00
a56aebfe70 remove side-effect comment since it is no longer relevant 2021-05-10 21:09:00 -07:00
422bb744a8 update man pages 2021-05-10 21:03:30 -07:00
c3b814a15f move imports to the top 2021-05-10 21:02:28 -07:00
e4574047a0 update tests for magic_parser function 2021-05-10 20:49:44 -07:00
0d7d7951f8 don't reset sys.argv anymore. check for 'valid_command' instead 2021-05-10 18:58:45 -07:00
da904e4770 remove final \n from stderr string when printing 2021-05-10 18:50:59 -07:00
19b540041a proof of concept for passing command exit codes when using magic syntax. Needs more testing 2021-05-10 18:31:30 -07:00
f2ffb93eea formatting 2021-05-10 10:43:40 -07:00
c0c0e05642 add dig +noall +answer support 2021-05-10 10:40:13 -07:00
966978f17e add more unparsable line ping tests 2021-05-10 10:39:51 -07:00