Comment by cdirkx

Comment by cdirkx 16 hours ago

2 replies

The "install -y" pattern is kind of similar. Various tools have as a default that it gives a list of packages that would be installed, and then ask for confirmation.

senorrib 14 hours ago

rm <file> does not ask for any confirmation. Neither do most of the infra tools we use on a daily basis.

bmelton 12 hours ago

`install -y` is a fun analogue to consider here.

A "Hey, this is really going to delete files. If you're just playing around here, maybe try it with the --dry-run flag" seems sane and (so long as it's asked for) means less syntax to have to know up front.