Skip to content

Arg::value_terminator

since 0.1.0

Sentinel to stop parsing multiple values of a given argument.

name = "prog"
[args]
cmds = { action = "set", num-args = "..", allow-hyphen-values = true, value-terminator = ";" }
location = {}
Terminal window
prog find type f -name special ; /home/clap
Terminal window
claptrap_cmds=('find' 'type' 'f' '-name' 'special')
claptrap_location='/home/clap'