master #3
1 changed files with 6 additions and 2 deletions
|
@ -14,9 +14,13 @@
|
||||||
(str
|
(str
|
||||||
"usage:
|
"usage:
|
||||||
|
|
||||||
|
-v | --version : Shows project version
|
||||||
|
-h : Shows help
|
||||||
|
|
||||||
" name " {your configuraton file} {your authorization file}"))
|
" name " {your configuraton file} {your authorization file}"))
|
||||||
|
|
||||||
(s/def ::options (s/* #{"-h" "-v" "--version"}))
|
(s/def ::options (s/* #{"-h"
|
||||||
|
"-v" "--version"}))
|
||||||
(s/def ::filename (s/and string?
|
(s/def ::filename (s/and string?
|
||||||
#(not (cs/starts-with? % "-"))))
|
#(not (cs/starts-with? % "-"))))
|
||||||
(s/def ::cmd-args (s/cat :options ::options
|
(s/def ::cmd-args (s/cat :options ::options
|
||||||
|
|
Loading…
Reference in a new issue