Validates the options for a command by checking for required options, conflicts, and dependencies.
Throws an error if the options are invalid.
Validates the options for a command by checking for required options, conflicts, and dependencies.