We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b348a commit 1a3c729Copy full SHA for 1a3c729
tests/app.yml
@@ -2,6 +2,7 @@ name: claptests
2
version: 1.0
3
about: tests clap library
4
author: Kevin K. <[email protected]>
5
+settings: ArgRequiredElseHelp
6
args:
7
- opt:
8
short: o
@@ -10,10 +11,10 @@ args:
10
11
help: tests options
12
- positional:
13
help: tests positionals
- takes_value: true
14
+ index: 1
15
- positional2:
16
help: tests positionals with exclusions
17
+ index: 2
18
- flag:
19
short: f
20
long: flag
@@ -43,7 +44,7 @@ args:
43
44
- fast
45
- slow
46
- positional3:
47
+ index: 3
48
help: tests positionals with specific values
49
possible_values: [ vi, emacs ]
50
- multvals:
@@ -81,4 +82,4 @@ subcommands:
81
82
takes_value: true
83
- scpositional:
84
85
0 commit comments