Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bind ¶
Bind parses a usage string and returns an instance of *T, or an error if it can't be parsed.
placeholder is an optional placeholder in the usage string that should be replaced with the name of the program.
func MustBind ¶
MustBind parses a usage string and returns an instance of *T, or panics if it can't be parsed.
placeholder is an optional placeholder in the usage string that should be replaced with the name of the program.
func MustParse ¶
MustParse parses a usage string and returns an instance of docopt.Opts, or panics if it can't be parsed.
placeholder is an optional placeholder in the usage string that should be replaced with the name of the program.
Types ¶
This section is empty.