Adds to this command container an option which expect a pair of key/value.
public static TCommand Add<TCommand, TKey, TValue>(this TCommand command, string prototype, Action<TKey, TValue> action)
where TCommand : CommandContainer where TKey : ISpanParsable<TKey> where TValue : ISpanParsable<TValue>
The command to add the action to.
The prototype of the option. E.g "v|version".
The associated action
Environment-variable fallback and validation delegates are intentionally not supported for key/value option overloads.