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

Version Path
knife-undev-0.1.4 bin/knife-undev-converter
knife-undev-0.1.3 bin/knife-undev-converter
knife-undev-0.1.2 bin/knife-undev-converter
knife-undev-0.1.1 bin/knife-undev-converter
knife-undev-0.1.0 bin/knife-undev-converter
knife-undev-0.0.9 bin/knife-undev-converter
knife-undev-0.0.8 bin/knife-undev-converter
knife-undev-0.0.7 bin/knife-undev-converter
knife-undev-0.0.6 bin/knife-undev-converter
knife-undev-0.0.5 bin/knife-undev-converter
knife-undev-0.0.4 bin/knife-undev-converter