module Docopt
Defined in:
docopt.crdocopt/version.cr
Constant Summary
-
VERSION =
"0.2.0"
Class Method Summary
- .docopt(doc, argv = nil, help = true, version = nil, options_first = false, exit = true) : Hash(String, Nil | String | Int32 | Bool | Array(String))
- .extras(help, version, options, doc)
- .formal_usage(section)
- .parse_argv(tokens, options, options_first = false) : Array(Pattern)
- .parse_atom(tokens, options) : Array(Pattern)
- .parse_defaults(doc) : Array(Option)
- .parse_expr(tokens, options) : Array(Pattern)
- .parse_long(tokens, options) : Array(Pattern)
- .parse_pattern(source, options)
- .parse_section(name, source)
- .parse_seq(tokens, options) : Array(Pattern)
- .parse_shorts(tokens, options) : Array(Pattern)
Class Method Detail
def self.docopt(doc, argv = nil, help = true, version = nil, options_first = false, exit = true) : Hash(String, Nil | String | Int32 | Bool | Array(String))
#