Module: BashCompletion
- Included in:
- Complete
- Defined in:
- lib/get/subcommand/complete/bash_completion.rb
Overview
Module with bash completion generation functions
Instance Method Summary collapse
Instance Method Details
#bash_completion(main_module, command_name) ⇒ Object
22 23 24 25 26 |
# File 'lib/get/subcommand/complete/bash_completion.rb', line 22 def bash_completion(main_module, command_name) generate_functions(main_module, command_name, INITIAL_LEVEL) "#{HEADER}\n#{@@function_stack.reverse.join("\n")}" end |