Sha256: fd8a08611090a7ded5b9eb0969108ad31923c25fdfdb856bb0cf0c3375aaaf23
Contents?: true
Size: 890 Bytes
Versions: 1
Compression:
Stored size: 890 Bytes
Contents
#!/usr/bin/env ruby require 'trollop' require 'retrospec' opts = Trollop::options do opt :module_path, "The path (relative or absolute) to the module directory (Defaults to current directory) " , :type => :string, :required => false, :default => nil opt :template_dir, "Path to templates directory (only for overriding Retrospec templates)", :type => :string, :required => false, :default => nil opt :enable_user_templates, "Use Retrospec templates from #{File.expand_path('~/.puppet_retrospec_templates')}", :require => false, :type => :boolean opt :enable_beaker_tests, "Enable the creation of beaker tests", :require => false, :type => :boolean opt :enable_future_parser, "Enables the future parser only during validation", :require => false, :type => :boolean end include Puppet_Retrospec retro = Retrospec.new(opts[:module_path], opts) retro.create_files
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puppet-retrospec-0.7.0 | bin/retrospec |