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