Skip to content

Command::no_binary_name

since 0.1.0

Specifies that the parser should not assume the first argument passed is the binary name.

name = "myprog"
no-binary-name = true
[args]
cmd = { num-args = "1..", help = "commands to run" }
Terminal window
myprog command set
Terminal window
claptrap_cmd=('myprog' 'command' 'set')