Validates the options for a command by checking for required options, conflicts, and dependencies.
The option config to be validated.
Throws an error if the options are invalid.
Validates the options for a command by checking for required options, conflicts, and dependencies.