News for hackers. Stuff that matters.
Re:Command Line Interface Guidelines by epage on Tuesday February 06, 2024 @12:36PM (#39277535)
Or if the command can't be undone and with significant side effects, be `--dry-run` by default and have an `--execute` flag
Re:Command Line Interface Guidelines by BD103 on Tuesday February 06, 2024 @01:50PM (#39278693)
Exactly. This is implemented by the Javascript code formatter Prettier [1] where you have to pass `--write` in order to overwrite an unformatted file.

[1]: https://prettier.io