lib/gator/commands/generate_command.rb in gator-0.0.11.pre vs lib/gator/commands/generate_command.rb in gator-0.0.12.pre
- old
+ new
@@ -1,10 +1,7 @@
require 'thor/actions'
module Gator
class GenerateCommand < Command
- include Thor::Actions
-
- register_command "generate", "generate TASK", "Generators.", ["g"]
-
+ register_command Gator::Runner, "generate", "generate TASK", "Generators.", ["g"]
end
end
\ No newline at end of file