#subprocess #spawn #command #command-output #github-action

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

#16 in #github-action

Download history 31/week @ 2024-02-21 29/week @ 2024-02-28 3/week @ 2024-03-13

63 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
~154K SLoC