Sha256: 7f69d404cf3eed20c4a03293c41cb8958ad5e3ff4e69373adcedd23764f7356a
Contents?: true
Size: 470 Bytes
Versions: 1
Compression:
Stored size: 470 Bytes
Contents
#!/usr/bin/env ruby require 'chefspec-bootstrap' require 'trollop' opts = Trollop::options do opt :cookbooks_dir, "Your site cookbooks directory", :type => :string, :default => "site-cookbooks" opt :spec_dir, "Your spec directory", :type => :string, :default => "spec" opt :template, "ERB template file used to generate specs", :type => :string end bootstrap = ChefSpec::Bootstrap.new bootstrap.generate(opts[:cookbooks_dir], opts[:spec_dir], opts[:template])
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
chefspec-bootstrap-0.0.1 | bin/chefspec-bootstrap |