Feature Request: Add option to print the enviroment with the command
elichai opened this issue · comments
something like Cmd::set_verbose(self, bool)
that if set will print to stderr $ ENV1=KEY1 ENV2=KEY2 ... CMD ARGS
this will help debug errors when setting enviroment variables
Makes sense to me! We already have Cmd::quiet / set_quiet
which controls echoing of the command itself. One design question is the specific naming of methods. I think fn quiet
is already wrong, as it is very unclear what that does. So perhaps we can deprecate that and come up with some clearer API
@matklad Maybe something like echo_command()
and echo_env()
?