claptrap 0.3.0

Bring the power of Clap to shell scripts.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name = "myprog"
[args]
arg1 = {}
[[subcommands]]
name = "subcommand"
about = "a sub command"
[subcommands.args]
arg2 = {}
[[subcommands.subcommands]]
name = "nested"
about = "A nested sub command"
[subcommands.subcommands.args]
arg3 = { long = "arg3", action = "append" }
[[subcommands]]
name = "subcommand2"
about = "another sub command"
[subcommands.args]
arg4 = {}