Skip to content

ArgGroup::args

since 0.1.0

Adds multiple arguments to this group by name.

name = "myprog"
[groups]
req_flags = { args = ["flag", "color"] }
[args]
flag = { short = 'f', action = "set-true" }
color = { short = 'c', action = "set-true" }
Terminal window
myprog -f
Terminal window
claptrap_flag='true'
claptrap_color='false'