GitHub / rust-shell-script/rust_cmd_lib / commits
Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| c5f1cc99 | fix macos testing error | Tao Guo <t****e@g****m> | over 5 years ago | |
| bb8d0be7 | Bump version to 1.0.8 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 075f0340 | try to solve log crate dependency issue | Tao Guo <t****e@g****m> | over 5 years ago | |
| 5aff1498 | Bump version to 1.0.7 | Tao Guo <t****e@g****m> | over 5 years ago | |
| e5dd1395 | Add log crate dependency for cmd_lib_macros | Tao Guo <t****e@g****m> | over 5 years ago | |
| 6a476313 | Bump version to 1.0.6 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 8a4b1658 | try to optimize for /dev/null | Tao Guo <t****e@g****m> | over 5 years ago | |
| 20f1f995 | fix redirection all to a file | Tao Guo <t****e@g****m> | over 5 years ago | |
| f6894d6d | Simplify debug string | Tao Guo <t****e@g****m> | over 5 years ago | |
| 055cf17e | support |& operation | Tao Guo <t****e@g****m> | over 5 years ago | |
| 3c9ddc69 | Check more formats related to '&' | Tao Guo <t****e@g****m> | over 5 years ago | |
| 2b790902 | Bump version to 1.0.5 | Tao Guo <t****e@g****m> | over 5 years ago | |
| b040680c | report cd command error | Tao Guo <t****e@g****m> | over 5 years ago | |
| 3467cb51 | import std::io::Result to clean up process code | Tao Guo <t****e@g****m> | over 5 years ago | |
| 873c75f3 | fix builtin command stderr redirection | Tao Guo <t****e@g****m> | over 5 years ago | |
| b1b66593 | log builtin/custom command's stderr content | Tao Guo <t****e@g****m> | over 5 years ago | |
| 5bcd8189 | clean up log macros usage | Tao Guo <t****e@g****m> | over 5 years ago | |
| a84bf1a3 | clean up span_location() hack | Tao Guo <t****e@g****m> | over 5 years ago | |
| e58f3470 | Bump version to 1.0.4 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 863b4896 | Log errors for wait_raw_result() | Tao Guo <t****e@g****m> | over 5 years ago | |
| c596d576 | Try not to report errors if or_cmd can be run | Tao Guo <t****e@g****m> | over 5 years ago | |
| 5a503c4b | Make sure command running errors being logged for all code paths | Tao Guo <t****e@g****m> | over 5 years ago | |
| a926bf87 | Bump version to 1.0.3 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 652277ef | Capture all messages on stderr into logs | Tao Guo <t****e@g****m> | over 5 years ago | |
| da1a8896 | Update default logging level to debug | Tao Guo <t****e@g****m> | over 5 years ago | |
| 876f297c | clean up log::error! with error! | Tao Guo <t****e@g****m> | over 5 years ago | |
| 300fab8d | Add cmd_echo! support and also print all log levels by default | Tao Guo <t****e@g****m> | over 5 years ago | |
| 92a56d94 | Log error result when running command fails | Tao Guo <t****e@g****m> | over 5 years ago | |
| 41fcb4e8 | Bump version to 1.0.2 | Tao Guo <t****e@g****m> | over 5 years ago | |
| e2300fa9 | Log error messages when running command fails | Tao Guo <t****e@g****m> | over 5 years ago | |
| 027c9e42 | Update docs | Tao Guo <t****e@g****m> | over 5 years ago | |
| c069677b | Add log level for warn!() and error!() | Tao Guo <t****e@g****m> | over 5 years ago | |
| efd12ae3 | Bump version to 1.0.1 | Tao Guo <t****e@g****m> | over 5 years ago | |
| a3cc5c6a | Add logging support | Tao Guo <t****e@g****m> | over 5 years ago | |
| 38726d79 | Reduce unwrap() usage in lexer | Tao Guo <t****e@g****m> | over 5 years ago | |
| 6e560b8b | only take child's stdin for previous builtin/custom commands | Tao Guo <t****e@g****m> | over 5 years ago | |
| 57453750 | clean up last_arg_str in lexer code | Tao Guo <t****e@g****m> | over 5 years ago | |
| 60453c98 | Fix empty command with variable settings | Tao Guo <t****e@g****m> | over 5 years ago | |
| 536642ec | Bump version to 1.0 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 55d33015 | Removed vars() API from CmdEnv | Tao Guo <t****e@g****m> | over 5 years ago | |
| 7c1a18af | Bump version to 0.15.2 | Tao Guo <t****e@g****m> | over 5 years ago | |
| be65767c | Update builtin/custom command registration API | Tao Guo <t****e@g****m> | over 5 years ago | |
| 2d7d553b | Bump version to 0.15.1 | Tao Guo <t****e@g****m> | over 5 years ago | |
| adacb297 | clean up std_cmd matching | Tao Guo <t****e@g****m> | over 5 years ago | |
| b3bddf54 | clean up: move related code close to each other | Tao Guo <t****e@g****m> | over 5 years ago | |
| 02f3f8b1 | Refactor process module | Tao Guo <t****e@g****m> | over 5 years ago | |
| 6c66cec6 | Bump version to 0.15.0 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 37495f15 | code clean up for cur_cmd | Tao Guo <t****e@g****m> | over 5 years ago | |
| f415e105 | Update CmdStdio APIs | Tao Guo <t****e@g****m> | over 5 years ago | |
| 36ef5e59 | Move more information into Cmd struct itself | Tao Guo <t****e@g****m> | over 5 years ago | |
| 3cd9f2f9 | cleanup: move Command vector into lower level Cmd struct | Tao Guo <t****e@g****m> | over 5 years ago | |
| d0925c8c | Simplify debug_str printing | Tao Guo <t****e@g****m> | over 5 years ago | |
| 8d91826b | Simplify current_dir setting | Tao Guo <t****e@g****m> | over 5 years ago | |
| 301ffc42 | Fix wait_raw_result() wait bug | Tao Guo <t****e@g****m> | over 5 years ago | |
| 38e806a8 | Bump version to 0.14.6 | Tao Guo <t****e@g****m> | over 5 years ago | |
| c9e88488 | parser clean up | Tao Guo <t****e@g****m> | over 5 years ago | |
| c951d335 | clean up dd_test example | Tao Guo <t****e@g****m> | over 5 years ago | |
| 68727460 | Make process always wait for children even for failed cases | Tao Guo <t****e@g****m> | over 5 years ago | |
| 8516a10e | Don't panic when opening files failed | Tao Guo <t****e@g****m> | over 5 years ago | |
| 2f5ddba2 | Bump version to 0.14.5 | Tao Guo <t****e@g****m> | over 5 years ago | |
| b7ea511b | support null command | Tao Guo <t****e@g****m> | over 5 years ago | |
| 8424e07d | clean up macro expanded code | Tao Guo <t****e@g****m> | over 5 years ago | |
| 8bc794c0 | code clean up | Tao Guo <t****e@g****m> | over 5 years ago | |
| 28395b02 | fix pipes.sh execution bit issue | Tao Guo <t****e@g****m> | over 5 years ago | |
| e1a1dced | rename parse_str_lit to scan_str_lit since it is in lexer module | Tao Guo <t****e@g****m> | over 5 years ago | |
| dbcc1257 | Apply new 1.51 clippy suggestions | Tao Guo <t****e@g****m> | over 5 years ago | |
| 0e409dc2 | clean up: move parse_str_lit out of Lexer | Tao Guo <t****e@g****m> | over 5 years ago | |
| c5c62e27 | Update crate keywords | Tao Guo <t****e@g****m> | over 5 years ago | |
| 58e7174b | Simplify file content read | Tao Guo <t****e@g****m> | over 5 years ago | |
| 82e4bab0 | clean up redirection parsing | Tao Guo <t****e@g****m> | over 5 years ago | |
| 3dd00588 | Clean up span() usage to make it more consistent | Tao Guo <t****e@g****m> | over 5 years ago | |
| 37b1d6d5 | Clean up stdout redirection set up code | Tao Guo <t****e@g****m> | over 5 years ago | |
| 541321af | Update RedirectFd struct | Tao Guo <t****e@g****m> | over 5 years ago | |
| 27cda2db | Bump version to 0.14.4 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 137e6fb0 | Support stdin for builtin/custom commands | Tao Guo <t****e@g****m> | over 5 years ago | |
| dac1da7b | Support pipe in for builtin/custom commands | Tao Guo <t****e@g****m> | over 5 years ago | |
| 1831a740 | lexer code cleanup | Tao Guo <t****e@g****m> | over 5 years ago | |
| 9d3fc266 | Bump version to 0.14.3 | Tao Guo <t****e@g****m> | over 5 years ago | |
| da003f1b | Lexer code refactoring | Tao Guo <t****e@g****m> | over 5 years ago | |
| dd4f89b5 | Fix redirection format check | Tao Guo <t****e@g****m> | over 5 years ago | |
| c204702d | Release global CMD_MAP lock during executing | Tao Guo <t****e@g****m> | over 5 years ago | |
| c29595f8 | Bump version to 0.14.2 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 2d8d6f9c | clean up pipes example with cmd_info! macro | Tao Guo <t****e@g****m> | over 5 years ago | |
| 93ff8b6e | Fix string literal parsing | Tao Guo <t****e@g****m> | over 5 years ago | |
| c3acb202 | Update ProcHandle enum | Tao Guo <t****e@g****m> | over 5 years ago | |
| 87c29488 | Bump version to 0.14.1 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 0bd10f07 | Clean up builtin command implementation | Tao Guo <t****e@g****m> | over 5 years ago | |
| 3976fc37 | Bump version to 0.14.0 | Tao Guo <t****e@g****m> | over 5 years ago | |
| 1d06e327 | Update docs for registering custom commands | Tao Guo <t****e@g****m> | over 5 years ago | |
| 191a40ea | Support basic stderr redirection for builtin commands | Tao Guo <t****e@g****m> | over 5 years ago | |
| 165e3d2e | Support basic stdout redirection for builtin commands | Tao Guo <t****e@g****m> | over 5 years ago | |
| 6b09c38b | Update builtin command API interface | Tao Guo <t****e@g****m> | over 5 years ago | |
| c1c0efbf | Use cmd_die!() to replace die!() macro | Tao Guo <t****e@g****m> | over 5 years ago | |
| 25c9b1ce | Bump version to 0.12.6 | Tao Guo <t****e@g****m> | over 5 years ago | |
| d81274e2 | Add check for supporting string literal only | Tao Guo <t****e@g****m> | over 5 years ago | |
| 6f71bbd5 | Add support for cmd_info!() macro | Tao Guo <t****e@g****m> | over 5 years ago | |
| 86e5bee4 | Fix redirection bug for run_fun! | Tao Guo <t****e@g****m> | over 5 years ago | |
| e13a6d40 | Clean up wait_result | Tao Guo <t****e@g****m> | over 5 years ago | |
| 0e54ab05 | Update test cases | Tao Guo <t****e@g****m> | over 5 years ago | |
| 9aa22c6e | Code clean up | Tao Guo <t****e@g****m> | over 5 years ago |