lib/gator/commands/project_command.rb in gator-0.0.11.pre vs lib/gator/commands/project_command.rb in gator-0.0.12.pre
- old
+ new
@@ -1,15 +1,16 @@
require "thor"
require "thor/actions"
require "fileutils"
require "gator/command"
+require "gator/config"
module Gator
class ProjectCommand < Command
include Thor::Actions
include Gator::Configuration
- register_command "project", "project TASK", "Set of tasks to manage project templates.", ["p"]
+ register_command Gator::Runner, "project", "project TASK", "Set of tasks to manage project templates.", ["p"]
def self.source_root
Gator::Util.project_template_root
end
\ No newline at end of file