Skip to content

Arg::id

since 0.1.0

Set the identifier used for referencing this argument in the clap API.

name = "prog"
[args]
my-arg-id = { long = "foo", action = "set" }
Terminal window
prog --foo file.toml
Terminal window
claptrap_my-arg-id='file.toml'