Method: GLI#default_value
- Defined in:
- lib/gli.rb
#default_value(val) ⇒ Object
set the default value of the next flag
val-
A String reprensenting the default value to be used for the following flag if the user doesn’t specify one and, when using a config file, the config also doesn’t specify one
105 |
# File 'lib/gli.rb', line 105 def default_value(val); @@next_default_value = val; end |