class ChefCLI::Command::GeneratorCommands::Template

chef generate template [path/to/cookbook_root] name –source=source_file

def recipe

def recipe
  "template"
end

def setup_context

def setup_context
  super
  Generator.add_attr_to_context(:content_source, config[:source])
end