Adds to this command container an option which expects a specified type for its value.
public static TCommand Add<TCommand, T>(this TCommand command, string prototype, string? description, Action<T> action, bool hidden)
where TCommand : CommandContainer where T : ISpanParsable<T>
The command to add the action to.
The prototype of the option. E.g "v|version".
The help description for this option.
The associated action
A boolean indicating if this option or argument is hidden from help.