class ChefCLI::Command::GeneratorCommands::GeneratorGenerator

def run

def run
  return 1 unless verify_params!
  FileUtils.cp_r(source, destination_dir)
  update_metadata_rb
  ui.msg("Copied built-in generator cookbook to #{created_cookbook_path}")
  ui.msg("Add the following to your config file to enable it:")
  ui.msg("  chefcli.generator_cookbook \"#{created_cookbook_path}\"")
  0
end