Class: ChefCLI::ShellCompletionTemplateContext
- Inherits:
-
Object
- Object
- ChefCLI::ShellCompletionTemplateContext
- Defined in:
- lib/chef-cli/command/shell_init.rb
Instance Method Summary collapse
Instance Method Details
#commands ⇒ Object
33 34 35 36 37 38 |
# File 'lib/chef-cli/command/shell_init.rb', line 33 def commands ChefCLI.commands_map.command_specs.inject({}) do |cmd_info, (_key, cmd_spec)| cmd_info[cmd_spec.name] = cmd_spec.description cmd_info end end |
#get_binding ⇒ Object
40 41 42 |
# File 'lib/chef-cli/command/shell_init.rb', line 40 def get_binding binding end |