-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(App from YAML): fixes yaml app declaration
- Loading branch information
Showing
1 changed file
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ name: claptests | |
version: 1.0 | ||
about: tests clap library | ||
author: Kevin K. <[email protected]> | ||
settings: ArgRequiredElseHelp | ||
args: | ||
- opt: | ||
short: o | ||
|
@@ -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 | ||
|
@@ -43,7 +44,7 @@ args: | |
- fast | ||
- slow | ||
- positional3: | ||
takes_value: true | ||
index: 3 | ||
help: tests positionals with specific values | ||
possible_values: [ vi, emacs ] | ||
- multvals: | ||
|
@@ -81,4 +82,4 @@ subcommands: | |
takes_value: true | ||
- scpositional: | ||
help: tests positionals | ||
takes_value: true | ||
index: 1 |