shenwei356 / rush

A cross-platform command-line tool for executing jobs in parallel
https://github.com/shenwei356/rush
MIT License
865 stars 63 forks source link

Short option for --dry-run #49

Closed GladioFeng closed 1 year ago

GladioFeng commented 1 year ago

Prerequisites

rush 0.5.2

Describe your issue

Add a short option -D for excuting same function with --dry-run --dry-run is a frequently option, it is a nice thing to add a short option. By the way, rush is a very nice tools for bioinformatics guys. 🤩🤩🤩 You can add a buy me coffee link with wechat or something else. 🥳🥳

shenwei356 commented 1 year ago

Both -d and -D have been occupied. The long option --dry-run is long but clear to indicate it's a dry run mode.

  -d, --field-delimiter string    field delimiter in records, support regular expression (default "\\s+")
  -D, --record-delimiter string   record delimiter (default is "\n") (default "\n")
GladioFeng commented 1 year ago

oo, alright. Anaway, the tools you developed are really nice. 😃