Adds to this command container an option which expects a specified type and will add the value to the specified list.
public static TCommand Add<TCommand, T>(this TCommand command, string prototype, ICollection<T> list)
where TCommand : CommandContainer where T : ISpanParsable<T>
The command to add the action to.
The prototype of the option. E.g "v|version".
The associated list to receive the value of this option