Class: ChefDK::Command::GeneratorCommands::LWRP

Inherits:
CookbookCodeFile show all
Defined in:
lib/chef-dk/command/generator_commands/lwrp.rb

Overview

chef generate lwrp [path/to/cookbook_root] NAME

Instance Attribute Summary

Attributes inherited from CookbookCodeFile

#cookbook_path, #errors, #new_file_basename

Attributes inherited from Base

#params

Instance Method Summary collapse

Methods inherited from CookbookCodeFile

#cookbook_name, #cookbook_root, #initialize, #params_valid?, #read_and_validate_params, #run, #setup_context, #validate_cookbook_path

Methods inherited from Base

#chef_runner, #generator_cookbook_name, #generator_cookbook_path, #have_git?, #initialize, #setup_context

Methods included from ChefDK::Configurable

#chef_config, #chefdk_config, #config_loader

Methods inherited from Base

#initialize, #needs_help?, #needs_version?, #run_with_default_options

Methods included from Helpers

#chefdk_home, #err, #msg, #omnibus_apps_dir, #omnibus_bin_dir, #omnibus_chefdk_location, #omnibus_embedded_bin_dir, #omnibus_install?, #omnibus_root, #stderr, #stdout, #system_command

Constructor Details

This class inherits a constructor from ChefDK::Command::GeneratorCommands::CookbookCodeFile

Instance Method Details

#recipeObject



30
31
32
# File 'lib/chef-dk/command/generator_commands/lwrp.rb', line 30

def recipe
  'lwrp'
end