-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add support for
unique
in repeatable flag args
- Loading branch information
Showing
18 changed files
with
107 additions
and
36 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
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 |
---|---|---|
@@ -1,60 +1,35 @@ | ||
.\" Automatically generated by Pandoc 3.1.6 | ||
.\" Automatically generated by Pandoc 3.1.9 | ||
.\" | ||
.\" Define V font for inline verbatim, using C font in formats | ||
.\" that render this, and otherwise B font. | ||
.ie "\f[CB]x\f[]"x" \{\ | ||
. ftr V B | ||
. ftr VI BI | ||
. ftr VB B | ||
. ftr VBI BI | ||
.\} | ||
.el \{\ | ||
. ftr V CR | ||
. ftr VI CI | ||
. ftr VB CB | ||
. ftr VBI CBI | ||
.\} | ||
.TH "download" "1" "December 2023" "Version 0.1.0" "Sample application" | ||
.hy | ||
.SH NAME | ||
.PP | ||
\f[B]download\f[R] - Sample application | ||
.SH SYNOPSIS | ||
.PP | ||
\f[B]download\f[R] SOURCE [TARGET...] | ||
OPTIONS | ||
.SH DESCRIPTION | ||
.PP | ||
Sample application | ||
.SH ARGUMENTS | ||
.SS SOURCE | ||
.PP | ||
Source to download from | ||
.IP \[bu] 2 | ||
\f[I]Required\f[R] | ||
.IP \[bu] 2 | ||
Allowed Values: \f[B]server1, server2\f[R] | ||
.SS TARGET | ||
.PP | ||
Target filename (default: same as source) | ||
.IP \[bu] 2 | ||
\f[I]Repeatable\f[R] | ||
.SH OPTIONS | ||
.SS --force, -f | ||
.PP | ||
Overwrite existing files | ||
.SS --debug, -d | ||
.PP | ||
Show debug information | ||
.SH DEPENDENCIES | ||
.SS aws-cli | ||
.PP | ||
Download from <https://aws.amazon.com/cli/> | ||
.SH SEE ALSO | ||
.PP | ||
\f[B]docker\f[R](1), \f[B]docker-compose.yml\f[R](5) | ||
.SH ISSUE TRACKER | ||
.PP | ||
Report issues at <https://github.com/lanalang/smallville> | ||
.SH AUTHORS | ||
Lana Lang. |
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
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
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
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
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
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
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
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
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
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 |
---|---|---|
|
@@ -46,4 +46,5 @@ flag.private | |
flag.repeatable | ||
flag.required | ||
flag.short | ||
flag.unique | ||
flag.validate |
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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
Nothing raised |
1 change: 1 addition & 0 deletions
1
spec/approvals/validations/flag_unique_without_repeatable_and_arg
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
#<Bashly::ConfigurationError: root.flags[0].unique does not make sense without nub`arg` and nub`repeatable`> |
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
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