Sha256: 00a214dfd92bf0bc39f4255c00c566da7b1caca12cf70f8d2f9be3ffe36365ec
Contents?: true
Size: 720 Bytes
Versions: 2
Compression:
Stored size: 720 Bytes
Contents
require "rubygems" require "thor" Dir[File.join(File.dirname(__FILE__), "confluence", "*.rb")].each { |source| require source } module Confluence class Application < Thor include Thor::Actions attr_accessor :project_name, :project_author desc "new", "Creates a new confluence assets project for you in your specified directory" def new(project_name) @project_name = project_name @project_author = "Me" source_path = File.join File.dirname(__FILE__), "confluence", "templates" destination_path = project_name directory( source_path, destination_path ) end def self.source_root File.join File.dirname(__FILE__), "confluence", "templates" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
confluence-0.0.1 | lib/confluence.rb |
confluence-0.0.0 | lib/confluence.rb |