class
Docopt::FishCompletion
- Docopt::FishCompletion
- Reference
- Object
Defined in:
fish_completion.crConstructors
Instance Method Summary
-
#build_command_tree(pattern : Docopt::Pattern, cmd_params : CommandParams) : CommandParams
ameba:disable Metrics/CyclomaticComplexity
- #create_argument_completions(arguments : Array(String), command_parts : Array(String), custom_name : String) : String
- #create_command_completions(subcommands : Hash(String, CommandParams), command_parts : Array(String), option_help : Hash(String, String)) : String
- #create_completion_condition(command_parts : Array(String)) : String
- #create_option_completions(options : Array(String), option_help : Hash(String, String), command_parts : Array(String)) : String
- #create_section(cmd_name : String, param_tree : CommandParams, option_help : Hash(String, String), command_parts : Array(String) = [] of 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_argument_completions(arguments : Array(String), command_parts : Array(String), custom_name : String) : String
#
def create_command_completions(subcommands : Hash(String, CommandParams), command_parts : Array(String), option_help : Hash(String, String)) : String
#
def create_option_completions(options : Array(String), option_help : Hash(String, String), command_parts : Array(String)) : String
#
def create_section(cmd_name : String, param_tree : CommandParams, option_help : Hash(String, String), command_parts : Array(String) = [] of String) : String
#
def get_completion_file_content(cmd : String, param_tree : CommandParams, option_help : Hash(String, String)) : String
#