tagatac / bagoup

Mac OS Messages export
GNU Affero General Public License v3.0
72 stars 4 forks source link

Add option validation #69

Closed tagatac closed 2 months ago

tagatac commented 2 months ago

What is changing: Add checks that nonsensical combinations of flags are not used.

Why this change is being made:

  1. To avoid letting users perform long exports only to learn that one of the flags they used was unexpectedly ignored.
  2. To avoid performing functions in unexpected situations, e.g. creating a tilde expansion file when there are no copied attachments.

Related issue(s): Closes #68

Follow-up changes needed: None

Is the change completely covered by unit tests? If not, why not?: Yes