lib/chef-dk/command/generate.rb in chef-dk-0.2.0 vs lib/chef-dk/command/generate.rb in chef-dk-0.2.1
- old
+ new
@@ -15,10 +15,20 @@
# limitations under the License.
#
require 'chef-dk/command/base'
require 'chef-dk/command/generator_commands'
+require 'chef-dk/command/generator_commands/base'
+require 'chef-dk/command/generator_commands/cookbook_code_file'
+require 'chef-dk/command/generator_commands/cookbook'
+require 'chef-dk/command/generator_commands/app'
+require 'chef-dk/command/generator_commands/attribute'
+require 'chef-dk/command/generator_commands/cookbook_file'
+require 'chef-dk/command/generator_commands/lwrp'
+require 'chef-dk/command/generator_commands/recipe'
+require 'chef-dk/command/generator_commands/template'
+require 'chef-dk/command/generator_commands/repo'
module ChefDK
module Command
class Generate < Base
@@ -37,9 +47,10 @@
generator(:recipe, :Recipe, "Generate a new recipe")
generator(:attribute, :Attribute, "Generate an attributes file")
generator(:template, :Template, "Generate a file template")
generator(:file, :CookbookFile, "Generate a cookbook file")
generator(:lwrp, :LWRP, "Generate a lightweight resource/provider")
+ generator(:repo, :Repo, "Generate a Chef policy repository")
def self.banner_headline
<<-E
Usage: chef generate GENERATOR [options]