#spawn #subprocess #command

bin+lib pretty-exec

Print a command and then execute it

31 releases (5 breaking)

Uses new Rust 2021

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

#1677 in Command line utilities

MIT license

8KB

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.7–8MB
~140K SLoC