Docopt::BashCompletion
Inherits Reference < Object
Constructors
new(doc : String, custom_completions : Hash(String, String) = {} of String => String)
SourceInstance methods
ameba:disable Metrics/CyclomaticComplexity
create_compreply(param_tree : CommandParams) : String
Sourcecreate_option_compreply(param_tree : CommandParams) : String
Sourcecreate_section(cmd_name : String, param_tree : CommandParams, option_help : Hash(String, String), level_num : Int32) : String
Sourcecreate_subcommand_switch(cmd_name : String, level_num : Int32, subcommands : Array(String), opts : Array(String)) : String
Sourceget_completion_file_content(cmd : String, param_tree : CommandParams, option_help : Hash(String, String)) : String
Sourceget_completion_filepath(cmd : String) : String
Sourceget_completion_path
Sourceparse_params
Sourcesanitize_name(name : String) : String
Source