#spawn #subprocess #command

pretty-exec-lib

Print a command and then execute it

38 releases (5 breaking)

0.5.0 Oct 24, 2022
0.3.0 Oct 18, 2022
0.0.37 May 27, 2021
0.0.36 Mar 27, 2021
0.0.17 Jun 22, 2020

#9 in #cli-command

Download history 2/week @ 2022-11-27 8/week @ 2022-12-04 7/week @ 2022-12-11 5/week @ 2022-12-18 10/week @ 2022-12-25 3/week @ 2023-01-01 8/week @ 2023-01-08 6/week @ 2023-01-15 13/week @ 2023-01-22 16/week @ 2023-01-29 202/week @ 2023-02-05 110/week @ 2023-02-12 120/week @ 2023-02-19 34/week @ 2023-02-26 7/week @ 2023-03-05 2/week @ 2023-03-12

202 downloads per month
Used in pretty-exec

MIT license

19KB
491 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

~2.2–8.5MB
~153K SLoC