Arg::visible_short_aliases
visible_short_aliases
Section titled “visible_short_aliases ”Add aliases, which function as visible short flags.
Example
Section titled “Example”name = "prog"[args]test = { long = "test", visible-short-aliases = ['t', 'e'], action = "set-true" }
name: progargs: test: long: test visible-short-aliases: - t - e action: set-true
{ "name": "prog", "args": { "test": { "long": "test", "visible-short-aliases": [ "t", "e" ], "action": "set-true" } }}
prog -t
Output
Section titled “Output”claptrap_test='true'