Class: ChefDK::ShellCompletionTemplateContext
- Inherits:
-
Object
- Object
- ChefDK::ShellCompletionTemplateContext
- Defined in:
- lib/chef-dk/command/shell_init.rb
Instance Method Summary collapse
Instance Method Details
#commands ⇒ Object
30 31 32 33 34 35 |
# File 'lib/chef-dk/command/shell_init.rb', line 30 def commands ChefDK.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
37 38 39 |
# File 'lib/chef-dk/command/shell_init.rb', line 37 def get_binding binding end |