Declares that when optionName is present, all requiredOptionNames must also be present.
public static TCommand AddRequires<TCommand>(this TCommand command, string optionName, params string[] requiredOptionNames)
where TCommand : CommandContainer
The command container.
The option that triggers the requirement (without prefix).
One or more required option names (without prefix).