lib/gator/commands/project_command.rb in gator-0.0.10.pre vs lib/gator/commands/project_command.rb in gator-0.0.11.pre
- old
+ new
@@ -1,14 +1,14 @@
require "thor"
require "thor/actions"
require "fileutils"
-require File.dirname(__FILE__) + '/../util'
-require File.dirname(__FILE__) + '/command'
+require "gator/command"
module Gator
class ProjectCommand < Command
include Thor::Actions
+ include Gator::Configuration
register_command "project", "project TASK", "Set of tasks to manage project templates.", ["p"]
def self.source_root
Gator::Util.project_template_root
@@ -49,9 +49,13 @@
no_tasks {
def project_name
@project_name
+ end
+
+ def configuration
+ config
end
}
private
\ No newline at end of file