lib/dev_flow.rb in dev_flow-0.1.0 vs lib/dev_flow.rb in dev_flow-0.1.1
- old
+ new
@@ -17,9 +17,10 @@
# other helper and libraries
require 'dev_flow/girc'
module DevFlow
def self.invoke! config, command
+ # autoload command required files
require "dev_flow/commands/#{command}"
klass = command.to_s.capitalize
eval(klass).new(config, command).process!
end
end