class
Docopt::BashCompletion
- Docopt::BashCompletion
- Reference
- Object
Defined in:
bash_completion.crConstructors
Instance Method Summary
-
#build_command_tree(pattern : Docopt::Pattern, cmd_params : CommandParams) : CommandParams
ameba:disable Metrics/CyclomaticComplexity
- #create_compreply(param_tree : CommandParams) : String
- #create_section(cmd_name : String, param_tree : CommandParams, option_help : Hash(String, String), level_num : Int32) : String
- #create_subcommand_switch(cmd_name : String, level_num : Int32, subcommands : Array(String), opts : Array(String)) : String
- #get_completion_file_content(cmd : String, param_tree : CommandParams, option_help : Hash(String, String)) : String
- #get_completion_filepath(cmd : String) : String
- #get_completion_path : String
- #parse_params : Tuple(CommandParams, Hash(String, String))
- #sanitize_name(name : String) : String
Constructor Detail
Instance Method Detail
ameba:disable Metrics/CyclomaticComplexity
def create_section(cmd_name : String, param_tree : CommandParams, option_help : Hash(String, String), level_num : Int32) : String
#
def create_subcommand_switch(cmd_name : String, level_num : Int32, subcommands : Array(String), opts : Array(String)) : String
#
def get_completion_file_content(cmd : String, param_tree : CommandParams, option_help : Hash(String, String)) : String
#