Skip to content

Releases: shenwei356/rush

rush v0.4.2

28 Aug 05:37
Compare
Choose a tag to compare

Changes

  • fix bug of escaping symbols. #28

rush v0.4.1

26 Jan 12:59
Compare
Choose a tag to compare

Changes

  • appending finished cmds to --succ-cmd-file now, it's safer.
  • fix variable replacement for complex commands. #25

rush v0.4.0

13 Oct 05:47
Compare
Choose a tag to compare

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

21 Feb 15:52
Compare
Choose a tag to compare

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

26 Oct 11:15
Compare
Choose a tag to compare

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

03 May 05:46
Compare
Choose a tag to compare

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

15 Mar 05:26
Compare
Choose a tag to compare

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

15 Feb 02:48
Compare
Choose a tag to compare

Changelog

  • Adding short flag (-T) for flag --trim, and adding return character for trimming (now: " \t\r\n") with better support for Windows platform.

rush v0.1.6

14 Feb 09:20
Compare
Choose a tag to compare

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

09 Feb 07:41
Compare
Choose a tag to compare

Changelog

  • fix continue (-c): immediately saving ignored commands when successful commands file is not empty (usually when running command with flag -c for 3+th times)