#spawn #subprocess #command

pretty-exec-lib

Print a command and then execute it

31 releases

0.0.35 Dec 25, 2020
0.0.34 Dec 21, 2020
0.0.33 Oct 14, 2020
0.0.32 Sep 17, 2020
0.0.16 May 26, 2020

#8 in #spawn

Download history 43/week @ 2020-10-31 64/week @ 2020-11-07 16/week @ 2020-11-14 44/week @ 2020-11-21 8/week @ 2020-11-28 66/week @ 2020-12-05 12/week @ 2020-12-12 25/week @ 2020-12-19 8/week @ 2020-12-26 14/week @ 2021-01-02 8/week @ 2021-01-09 48/week @ 2021-01-16 6/week @ 2021-01-23 2/week @ 2021-01-30 40/week @ 2021-02-06 283/week @ 2021-02-13

151 downloads per month
Used in pretty-exec

MIT license

13KB
330 lines

Pretty Exec

Test Travis Build Status

Print a command and then execute it.

Usage

Print a command and then execute it

pretty-exec -- <program> [arguments]...

Print a command only

pretty-exec --skip-exec -- <program> [arguments]...

Group command output in a group in a GitHub Action logs

pretty-exec --github-actions -- <program> [arguments]...

Print help message

pretty-exec --help

Installation

From Crates.io

cargo install pretty-exec

From GitHub Release

Just go to the release page and download suitable binary.

From the Arch User Repository (AUR)

Build from source

yay -S pretty-exec

Download prebuilt binary

yay -S pretty-exec-bin

License

MIT © Hoàng Văn Khải

Dependencies

~1.6–2.3MB
~40K SLoC