Option.this

  1. this(string flag, string helpText, TargetOS os = TargetOS.all)
  2. this(string flag, string helpText, string ddocText, TargetOS os = TargetOS.all)
    struct Option
    this
    (
    string flag
    ,
    string helpText
    ,
    string ddocText
    ,)

Parameters

flag
Type: string

CLI flag without leading -, e.g. color

helpText
Type: string

detailed description of the flag

os
Type: TargetOS

for which TargetOS the flags are applicable

ddocText
Type: string

detailed description of the flag (in Ddoc)

Meta