Sha256: 8423dbe7655cf2d6e09479560905c23b0ee333ddd2103795c99c399cf28ca98c
Contents?: true
Size: 373 Bytes
Versions: 11
Compression:
Stored size: 373 Bytes
Contents
#!/usr/bin/env ruby require 'trollop' $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))) require 'knife/undev' require 'knife/undev/converter' opts = Trollop::options do opt :file, "FileName", :type => :string opt :class, "Chef class", :type => :string, :default => 'role' end Knife::Undev::Converter.new(opts[:file], opts[:class]).to_yml
Version data entries
11 entries across 11 versions & 1 rubygems