3 ms·
'date -d' vs. 'date -s', and 'show foo' vs. 'clear foo'
- lhorie 5y agoRelevant 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
- h2odragon 5y agoWill we start seeing people do "escape form a locked server cage" as a stage stunt at conferences soon? I hope so. "CTF" etc needs more stakes.
- ksaj 5y agoA similar and very well known example like 'show' and 'clear' is 'ls -rf /' and 'rm -rf /'.