Print a command and then execute it.
pretty-exec -- <program> [arguments]...
pretty-exec --skip-exec -- <program> [arguments]...
pretty-exec --github-actions -- <program> [arguments]...
pretty-exec --help
From Crates.io
cargo install pretty-exec
From GitHub Release
Just go to the release page and download suitable binary.
yay -S pretty-exec
yay -S pretty-exec-bin