Re:Show HN: Using Rust to write shell-script like tasks
by rustshellscript on Sunday August 23, 2020 @08:43AM
(#24251502)
You can consider it was enabled by default, and any failed command would return error unless you mask it with “xx || true”.
What about "set -euxo pipefail"? I see you were using eprintln before the commands, could we have a "set" macro that would do that for us?