3 ms·
Relevant thing I saw a while back: CLI design guidelines[0] > Confirm before doing anything dangerous. A common convention is to prompt for the user to type y
by lhorie 5y ago
Relevant thing I saw a while back: CLI design guidelines[0]
> Confirm before doing anything dangerous. A common convention is to prompt for the user to type y or yes if running interactively, or requiring them to pass -f or --force otherwise.
Lots of other gems there.
[0] https://clig.dev/#arguments-and-flags https://clig.dev/#arguments-and-flags