Releases: shenwei356/rush
rush v0.4.2
Changes
- fix bug of escaping symbols. #28
rush v0.4.1
Changes
- appending finished cmds to
--succ-cmd-file
now, it's safer. - fix variable replacement for complex commands. #25
rush v0.4.0
Changelog
- new flags:
--cleanup-time
allow child processes to clean up between stop / kill signals--immediate-output
print output immediately and interleaved, to aid debugging--no-kill-exes strings
exe names to exclude from kill signal, example: mspdbsrv.exe; or use all for all exes (default none)--no-stop-exes strings
exe names to exclude from stop signal, example: mspdbsrv.exe; or use all for all exes (default none)
- removed flags:
--kill-on-ctrl-c
kill child processes on ctrl-c (default true)
- try to fix for issue #17: rush -e does not kill jobs
rush v0.3.0
This version is contributed by @bburgin. details.
Changelog
-
Added
--propagate-exit-status
command line arg, default true.
Propagates child process exit status to rush exit status, so rush fails if a child fails -
Added
--print-retry-output
command line arg, default true.
Prints child output from retries, so users can see what caused retries -
Added
--kill-on-ctrl-c
command line arg, default true
Toggles child process kill or not -
For windows if
--kill-on-ctrl-c
, kill whole child process tree, so we don't orphan child processes -
Modified logic to print child output even if commands failed, so users can see what failed
rush v0.2.0
Changelog
-
support escaping special symbols like "$#&`" by flag
-q/--escape
.$ seq 1 | rush 'echo "I have $100"' I have 00 $ seq 1 | rush 'echo "I have $100"' -q I have $100 $ seq 1 | rush 'echo "I have $100"' -q --dry-run echo "I have \$100"
rush v0.1.9
Changelog
-
fix colorful output in Windows
-
new replacement string
{@regex}
. e.g.,$ echo read_1.fq.gz | rush 'echo {@(.+)_\d}' read $ echo a-b-c | rush 'echo {@\w+-\w+}' a-b
rush v0.1.8
Changelog
- Supporting Preset variable (macro), e.g.,
rush -v p={^suffix} 'echo {p}_new_suffix'
,
where{p}
is replaced with{^suffix}
.
This can make the long list of commands clearer (See example 17)
rush v0.1.7
Changelog
- Adding short flag (
-T
) for flag--trim
, and addingreturn
character for trimming (now:" \t\r\n"
) with better support for Windows platform.
rush v0.1.6
Changelog
-
ignoring input only containing newline character (
"\n"
) -
value of flag
-D/--record-delimiter
can be empty$ echo abc | rush -D "" -k 'echo {}' a b c
rush v0.1.5
Changelog
- fix continue (
-c
): immediately saving ignored commands when successful commands file is not empty (usually when running command with flag-c
for3+
th times)