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 |
|---|---|---|---|---|
| 47c81092 | update README | Tao Guo <t****e@g****m> | 9 months ago | |
| fe7aa8af | Add more tests for vector variable expansion | Tao Guo <t****e@g****m> | 11 months ago | |
| 74d1a950 | fmt: set style_edition to 2024 | Tao Guo <t****e@g****m> | 12 months ago | |
| 4b77eca9 | Bump version to 2.0.0 | Tao Guo <t****e@g****m> | 12 months ago | |
| 940f081c | Apply new cargo clippy & fmt | Tao Guo <t****e@g****m> | 12 months ago | |
| 04a72766 | Update rust version to 2024 | Tao Guo <t****e@g****m> | 12 months ago | |
| e2b29add | feat: Use new proc_macro's span apis to get next token with no gap | Tao Guo <t****e@g****m> | 12 months ago | |
| adb90c8b | refactor: apply clippy rules | Tao Guo <t****e@g****m> | about 1 year ago | |
| 02ac7b37 | refactor: replace lazy_static! with std::sync::LazyLock | Tao Guo <t****e@g****m> | about 1 year ago | |
| 1b921c8e | Fix compile_fail tests by moving to macros crate doctests | Tao Guo <t****e@g****m> | about 1 year ago | |
| b901784b | chore: docs update | Tao Guo <t****e@g****m> | about 1 year ago | |
| 29b28ba9 | merge Merge pull request #64 from davide125/license |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 0b89a241 | fix: conflict fix due to last merge pull | Tao Guo <t****e@g****m> | about 1 year ago | |
| 08c62442 | merge Merge pull request #74 from elcoosp/feat/build-script-log |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| cd3e9e21 | merge Merge branch 'master' into feat/build-script-log |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 269c3578 | merge Merge pull request #85 from delan/non-global-debug-pipefail |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 3bbf340c | merge Merge pull request #83 from delan/fix-wait-with-pipe |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| a0bb1230 | Replace wait_with_pipe() with wait_with_borrowed_pipe() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 548288f1 | Clean up new logic and merge with CmdChildHandle::wait() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 629c9eea | Add wait_with_borrowed_pipe() to ignore/pipefail test suite | Delan Azabani <d****n@a****m> | about 1 year ago | |
| ff05adbd | Fix hang when wait_with_borrowed_pipe() called with built-ins | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 9177f95b | Use thread-local overrides in tests | Delan Azabani <d****n@a****m> | about 1 year ago | |
| a782d69a | Add non-global ways to set debug and pipefail modes | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 171690e9 | merge Merge pull request #84 from delan/fix-thread-unsafety |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| c5c50e26 | merge Merge pull request #82 from delan/fix-ignore |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| b5ab2f2c | Fix thread unsafety due to internal use of set_var() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 2eb19aee | merge Merge pull request #81 from delan/cleanup |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| d2339127 | Experiment with fixing wait_with_pipe() another way | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 2c7fc8cd | Work around bug where set_pipefail() is not thread safe | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 61e0a809 | Remove old pipefail tests, which are covered by new test suite | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 7a8dbd8b | Fix handling of `ignore` in wait() and wait_with_all() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 9aa8698b | Print all assertions that failed in test_ignore_and_pipefail() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 5e77f2b6 | Add test_ignore_and_pipefail() test suite over most entry points | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 888b6879 | Run cargo fmt --all | Delan Azabani <d****n@a****m> | about 1 year ago | |
| c69d26f2 | Remove dead code in StderrThread::new() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| e91da593 | Experiment with fixing wait_with_pipe() | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 1c49fd23 | Clean up Cmds by eliminating unnecessary Option | Delan Azabani <d****n@a****m> | about 1 year ago | |
| f0c102c3 | merge Merge pull request #80 from delan/tracing |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| b79579a0 | merge Merge branch 'master' into tracing |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| a72b039d | merge Merge pull request #79 from delan/handle-progress-output |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 7c664da1 | merge Merge pull request #78 from delan/fix-escape-test |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 625a46ab | Inherit tracing spans, if the program uses tracing | Delan Azabani <d****n@a****m> | about 1 year ago | |
| 580ba430 | Make stderr logging handle CR-separated progress output | Delan Azabani <d****n@a****m> | about 1 year ago | |
| bf17d585 | Fix test_escape() to work with any path to echo(1) | Delan Azabani <d****n@a****m> | about 1 year ago | |
| c13a0ebf | fix: support command environment variables to contain equal signs | Tao Guo <t****e@g****m> | about 1 year ago | |
| 4e3efc5d | Bump verion to 1.9.6 | Tao Guo <t****e@g****m> | about 1 year ago | |
| fa97b635 | feat: support more formats for interpolation string | Tao Guo <t****e@g****m> | about 1 year ago | |
| 0e674817 | feat: support ${variable:?} in interpolation string | Tao Guo <t****e@g****m> | about 1 year ago | |
| 257c22fe | feat: add build-print feature to enable build.rs logging | elcoosp <e****p@g****m> | over 1 year ago | |
| cbb40dfa | merge Merge pull request #73 from decathorpe/master |
Tao Guo <t****e@g****m>
Committed by: GitHub <n****y@g****m> |
over 1 year ago | |
| 2a93c1d3 | examples: port from structopt to clap/derive | Fabio Valentini <d****e@g****m> | over 1 year ago | |
| c05052f0 | Bump version to 1.9.5 | Tao Guo <t****e@g****m> | almost 2 years ago | |
| b26b08da | proc-macro-error -> proc-macro-error2 | Tao Guo <t****e@g****m> | almost 2 years ago | |
| b6aeab45 | report full cmds in error to give more context | Tao Guo <t****e@g****m> | almost 2 years ago | |
| c8a42484 | Move pipe related test cases into one | Tao Guo <t****e@g****m> | almost 2 years ago | |
| 8090c390 | fix pipefail issue for run_fun!() macro | Tao Guo <t****e@g****m> | almost 2 years ago | |
| 7e05e85b | Include license text in packaged macros crate | Davide Cavalca <d****a@f****g> | over 2 years ago | |
| 2995ac0f | Bump version to 1.9.4 | Tao Guo <t****e@g****m> | over 2 years ago | |
| 6572e896 | Skip empty arguments | Tao Guo <t****e@g****m> | over 2 years ago | |
| 186b0b9e | Bump version to 1.9.3 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| de429a98 | Remove MainResult and MainError | Tao Guo <t****e@g****m> | almost 3 years ago | |
| b173c554 | Bump version 1.9.2 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 9dfc8fc7 | Update FunChildren APIs | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 98114b30 | Append command location information into errors | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 07557421 | Hide CmdIn/CmdOut implementation details | Tao Guo <t****e@g****m> | almost 3 years ago | |
| ddc0e3c1 | Fix macros unit testing | Tao Guo <t****e@g****m> | almost 3 years ago | |
| d551d31b | Bump version 1.9.1 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 53b6b1f2 | Update custom command API signature | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 787e35d1 | Bump version to 1.9.0 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 875488ef | refactoring custom command registration | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 7b3bed03 | Update readme | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 9c2a420d | clean up custom command registration | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 7c62c19f | minor cleanup | Tao Guo <t****e@g****m> | almost 3 years ago | |
| a150ce21 | Bump version to 1.8.1 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 628eab58 | Update docs | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 4e5cf3e0 | Provide API to catch all output and return code | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 84c1cbff | Bump version | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 4e7b9145 | Bump versions for dependencies | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 62457be5 | Add `cmd_lib::main` attribute macro to log main() error by default | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 5214d181 | Allow empty command in command pipeline | Tao Guo <t****e@g****m> | almost 3 years ago | |
| bde37e2e | Support empty command | Tao Guo <t****e@g****m> | almost 3 years ago | |
| c81d43b7 | Bump version to 1.6.1 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 7c765ab1 | Support "-n" option for builtin echo command | Tao Guo <t****e@g****m> | almost 3 years ago | |
| eebe3558 | Bump version to 1.6.0 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 5b3a08e0 | Refactoring for better logging mechanism | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 13836636 | remove unnecessary to_string() calls | Tao Guo <t****e@g****m> | almost 3 years ago | |
| d59f3dee | remove unnecessary to_string() calls | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 09f44b4b | update ignore, cd and redirect print | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 645d0cc8 | Bump version to 1.5 | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 3dbc8343 | Better error report for running commands | Tao Guo <t****e@g****m> | almost 3 years ago | |
| e089e56f | doc cleanup | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 0548007a | Bump versions | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 0ce11273 | improve error reporting for spawning error | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 2fcad416 | APIs clean up | Tao Guo <t****e@g****m> | almost 3 years ago | |
| f094ab88 | Use env_logger as default logger. | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 9fee93fa | Clean up builtin commands and update README. | Tao Guo <t****e@g****m> | almost 3 years ago | |
| a2eea51a | Add API to get the pids of the pipeline processes | Tao Guo <t****e@g****m> | almost 3 years ago | |
| b8a3a6dc | clean up error reporting when spawning processes | Tao Guo <t****e@g****m> | almost 3 years ago | |
| 6a44afa7 | support kill for pipeline | Tao Guo <t****e@g****m> | almost 3 years ago | |
| d5154d21 | apply new clippy rules | Tao Guo <t****e@g****m> | almost 3 years ago |