Sha256: b5cca02d4ba0c7f8b2baf1c2b9245769179dac9fed450b0d36e664afcc76ea5c

Contents?: true

Size: 772 Bytes

Versions: 2

Compression:

Stored size: 772 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
end
include Puppet_Retrospec

retro = Retrospec.new(opts[:module_path], opts)
retro.create_files

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-retrospec-0.6.1 bin/retrospec
puppet-retrospec-0.6.0 bin/retrospec