Sha256: 14ba1ceb73eb29ca9d510dc36b8300d04ef83207e5e42ca7d100311ce71f01ea

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

require 'librarian/helpers'

require 'librarian/cli'
require 'librarian/puppet'

module Librarian
  module Puppet
    class Cli < Librarian::Cli

      module Particularity
        def root_module
          Puppet
        end
      end

      include Particularity
      extend Particularity

      source_root Pathname.new(__FILE__).dirname.join("templates")

      def init
        copy_file environment.specfile_name
      end

      def version
        say "librarian-puppet v#{Librarian::Puppet::VERSION}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
librarian-puppet-0.0.1.pre lib/librarian/puppet/cli.rb