Class: ChefCLI::Command::GeneratorCommands::Input
- Inherits:
-
CookbookCodeFile
- Object
- Base
- Base
- CookbookCodeFile
- ChefCLI::Command::GeneratorCommands::Input
- Defined in:
- lib/chef-cli/command/generator_commands/input.rb
Overview
chef generate input [path/to/cookbook_root] NAME
Instance Attribute Summary
Attributes inherited from CookbookCodeFile
#cookbook_path, #errors, #new_file_basename
Attributes inherited from Base
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 ChefCLI::Configurable
#chef_config, #chefcli_config, #config_loader, #generator_config, #knife_config, #reset_config!
Methods inherited from Base
#check_license_acceptance, #initialize, #needs_help?, #needs_version?, #run_with_default_options
Methods included from Helpers
#err, #git_bin_dir, #git_windows_bin_dir, #msg, #omnibus_bin_dir, #omnibus_embedded_bin_dir, #omnibus_env, #omnibus_expand_path, #omnibus_install?, #omnibus_root, #package_home, #stderr, #stdout, #system_command, #usr_bin_path, #usr_bin_prefix
Constructor Details
This class inherits a constructor from ChefCLI::Command::GeneratorCommands::CookbookCodeFile
Instance Method Details
#recipe ⇒ Object
31 32 33 |
# File 'lib/chef-cli/command/generator_commands/input.rb', line 31 def recipe "input" end |