Follow-up for #13113 issue.
After merging #25333, the validation of properties for Import/Export is done directly in the command classes. The validation checks, whether only --file, or --dir is specified.
The validation might be done directly in the related property mappers.