Module: ChefCLI::Command::GeneratorCommands
- Defined in:
- lib/chef-cli/command/generator_commands.rb,
lib/chef-cli/command/generator_commands/base.rb,
lib/chef-cli/command/generator_commands/repo.rb,
lib/chef-cli/command/generator_commands/input.rb,
lib/chef-cli/command/generator_commands/recipe.rb,
lib/chef-cli/command/generator_commands/waiver.rb,
lib/chef-cli/command/generator_commands/helpers.rb,
lib/chef-cli/command/generator_commands/profile.rb,
lib/chef-cli/command/generator_commands/cookbook.rb,
lib/chef-cli/command/generator_commands/resource.rb,
lib/chef-cli/command/generator_commands/template.rb,
lib/chef-cli/command/generator_commands/attribute.rb,
lib/chef-cli/command/generator_commands/policyfile.rb,
lib/chef-cli/command/generator_commands/cookbook_file.rb,
lib/chef-cli/command/generator_commands/cookbook_code_file.rb,
lib/chef-cli/command/generator_commands/generator_generator.rb
Overview
## GeneratorCommands
This module is the namespace for all subcommands of ‘chef generate`
Defined Under Namespace
Classes: Attribute, Base, Cookbook, CookbookCodeFile, CookbookFile, GeneratorGenerator, Helpers, Input, Policyfile, Profile, Recipe, Repo, Resource, Template, Waiver
Class Method Summary collapse
Class Method Details
.build(class_name, params) ⇒ Object
77 78 79 |
# File 'lib/chef-cli/command/generator_commands.rb', line 77 def self.build(class_name, params) const_get(class_name).new(params) end |