module Docopt

Defined in:

docopt.cr
docopt/version.cr

Constant Summary

VERSION = "0.2.0"

Class Method Summary

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)) #

[View source]
def self.extras(help, version, options, doc) #

[View source]
def self.formal_usage(section) #

[View source]
def self.parse_argv(tokens, options, options_first = false) : Array(Pattern) #

[View source]
def self.parse_atom(tokens, options) : Array(Pattern) #

[View source]
def self.parse_defaults(doc) : Array(Option) #

[View source]
def self.parse_expr(tokens, options) : Array(Pattern) #

[View source]
def self.parse_long(tokens, options) : Array(Pattern) #

[View source]
def self.parse_pattern(source, options) #

[View source]
def self.parse_section(name, source) #

[View source]
def self.parse_seq(tokens, options) : Array(Pattern) #

[View source]
def self.parse_shorts(tokens, options) : Array(Pattern) #

[View source]