Sha256: 55c22de4aebfcc21ef51d453c277073b19c6bf51f2b32cd1a9b50e4d3871b9da
Contents?: true
Size: 455 Bytes
Versions: 13
Compression:
Stored size: 455 Bytes
Contents
require 'thor/group' module Berkshelf # @author Jamie Winsor <reset@riotgames.com> class BaseGenerator < Thor::Group class << self def source_root Berkshelf.root.join("generator_files") end end shell = Berkshelf.ui argument :path, type: :string, required: true include Thor::Actions private def target @target ||= Pathname.new(File.expand_path(path)) end end end
Version data entries
13 entries across 13 versions & 1 rubygems