Not taking a position but the design of rm strengthens the position that recursive by default without flags isn’t ok. rm makes you confirm when you want changes to recurse dirs.
I know feels aren't the objective truth but I feel like most people would default to running "new-cli-tool --help" first thing as a learned (defensive) habit. After all quite a bit of stuff that runs in a terminal emulator does something when ran without arguments or flags.
xigoi|6 days ago
user3939382|6 days ago
phcreery|6 days ago
`oxfmt` should have done the same and `oxfmt .`, with the desired dir ".", should have been the required usage.
vladvasiliu|6 days ago
I don't expect `rm` with no argument to trash everything in my CWD. Which it doesn't, see sibling's comment.
watt|4 days ago
aquariusDue|6 days ago
rk06|5 days ago
new devs should not learn these things the hard way