#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

#1548 in Development tools

Download history 58/week @ 2023-11-01 17/week @ 2023-11-08 44/week @ 2023-11-15 48/week @ 2023-11-22 119/week @ 2023-11-29 43/week @ 2023-12-06 42/week @ 2023-12-13 42/week @ 2023-12-20 42/week @ 2023-12-27 3/week @ 2024-01-03 4/week @ 2024-01-10 33/week @ 2024-01-17 44/week @ 2024-01-24 42/week @ 2024-01-31 6/week @ 2024-02-07 191/week @ 2024-02-14

313 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–15MB
~153K SLoC