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

1756 Commits

Author SHA1 Message Date
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
8ab08a5231 doc update 2021-05-10 10:13:52 -07:00
48e534fa03 add +noall +answer test 2021-05-07 16:55:18 -07:00
61851c1bd0 add support for +noall +answer 2021-05-07 16:42:09 -07:00
3c51b2d83d add tests for unparsable lines on linux 2021-05-07 13:50:28 -07:00
ee3a28528e Merge branch 'dev' of https://github.com/kellyjonbrazil/jc into dev
# Conflicts:
#	templates/readme_template
2021-05-05 10:03:58 -07:00
916bcdae38 Merge pull request #136 from kellyjonbrazil/master
merge changes from master
2021-05-05 10:02:25 -07:00
efb1d3e6b2 add blog title and minor formatting 2021-05-05 09:23:21 -07:00
4e6ae66bac formatting 2021-05-05 09:20:47 -07:00
5ee88e7b67 add use cases section 2021-05-05 09:18:45 -07:00
c3b68903cb add use cases section 2021-05-05 09:17:11 -07:00