lib/gator/commands.rb in gator-0.0.14.pre vs lib/gator/commands.rb in gator-0.0.16.pre
- old
+ new
@@ -1,4 +1,8 @@
-Dir.glob( File.join( File.dirname(__FILE__), "commands", "*.rb" ) ).each { |rb| require rb }
+require File.dirname(__FILE__) + '/commands/project'
+require File.dirname(__FILE__) + '/commands/generate'
+
+Gator::Runner.register_subcommand Gator::ProjectCommand
+Gator::Runner.register_subcommand Gator::GenerateCommand
\ No newline at end of file