Command::no_binary_name
no_binary_name
Section titled “no_binary_name ”Specifies that the parser should not assume the first argument passed is the binary name.
Example
Section titled “Example”name = "myprog"no-binary-name = true[args]cmd = { num-args = "1..", help = "commands to run" }
name: myprogno-binary-name: trueargs: cmd: num-args: 1.. help: commands to run
{ "name": "myprog", "no-binary-name": true, "args": { "cmd": { "num-args": "1..", "help": "commands to run" } }}
myprog command set
Output
Section titled “Output”claptrap_cmd=('myprog' 'command' 'set')