by overshard · 5y ago · 0 comments
I'd like to one day see a global flag on operating systems to dry run nearly all commands that changed anything.
Same here. In addition if there's never a use case for running in production (e.g. at one point we had a command that reset a dev environment to a clean slate) then the command will actually specifically check for the production environment and refuse to run as an extra failsafe.
Seems to be followed most of the time.