Created
February 27, 2018 23:52
-
-
Save arathnim/d7f328e21d32bc409a03c28ca6f6aa24 to your computer and use it in GitHub Desktop.
CLI flag DSL
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
(defflag width :long "width" :short "w" :parse integer) | |
(defflag height :long "height" :short "h" :parse integer) | |
(defflag user :long "user" :short "u" :parse nil) | |
(defflag host :long "host" :short "H" :parse valid-hostname) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment