pub fn maybe_dump(dump_name: String, cmd: &Command)
Expand description
Writes the command invocation to a file if DUMP_BOOTSTRAP_SHIMS
is set during bootstrap.
Before writing it, replaces user-specific values to create generic dumps for cross-environment comparisons.