Writing a CLI tool, I'm facing a conundrum.
The tool is supposed to detect faces in images and blur them automatically. However, sometimes only one of those things should be done to allow marking additional faces manually with an external tool. So there are three behaviours I want to support:
- Detect faces and blur them in one go
- Only detect faces
- Only blur faces
My idea of solving this were two mutually exclusive options, something like
However, a coworker suggested that it might make more sense to have
--blur, so that using both options would lead to the same behaviour as using none, but I find this to be less intuitive.
My question now is: Are there any conventions I can follow to make this decision? I found the POSIX Utility Conventions, and they do mention mutually exclusive groups, but nothing that is helpful here.