Skip to content

Commit

Permalink
test(App from YAML): fixes yaml app declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Sep 1, 2015
1 parent 19b348a commit 1a3c729
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: claptests
version: 1.0
about: tests clap library
author: Kevin K. <[email protected]>
settings: ArgRequiredElseHelp
args:
- opt:
short: o
Expand All @@ -10,10 +11,10 @@ args:
help: tests options
- positional:
help: tests positionals
takes_value: true
index: 1
- positional2:
help: tests positionals with exclusions
takes_value: true
index: 2
- flag:
short: f
long: flag
Expand Down Expand Up @@ -43,7 +44,7 @@ args:
- fast
- slow
- positional3:
takes_value: true
index: 3
help: tests positionals with specific values
possible_values: [ vi, emacs ]
- multvals:
Expand Down Expand Up @@ -81,4 +82,4 @@ subcommands:
takes_value: true
- scpositional:
help: tests positionals
takes_value: true
index: 1

0 comments on commit 1a3c729

Please sign in to comment.