Command.getOptVal

get the inner value in specified type of an option by flags

  1. ArgWrap getOptVal(string key)
  2. T getOptVal(string key)
    class Command
    const
    T
    getOptVal
    (
    T
    )
    (
    string key
    )

Parameters

key string

the long|short flag or the name of the option

Return Value

Type: T

the inner value not wrapped

Meta