lib/onering.rb in onering-client-0.0.61 vs lib/onering.rb in onering-client-0.0.62

- old
+ new

@@ -1,13 +1,14 @@ $: << File.expand_path(File.dirname(__FILE__)) require 'onering/util' require 'onering/api' -require 'onering/plugins/devices' -require 'onering/plugins/authentication' -require 'onering/plugins/automation' -require 'onering/plugins/reporter' require 'onering/cli' -require 'onering/cli/call' -require 'onering/cli/fact' -require 'onering/cli/devices' -require 'onering/cli/automation' -require 'onering/cli/reporter' + +# require plugins +Dir[File.join(File.expand_path(File.dirname(__FILE__)),"onering","plugins","*.rb")].each do |i| + require i +end + +# require cli submodules +Dir[File.join(File.expand_path(File.dirname(__FILE__)),"onering","cli","*.rb")].each do |i| + require i +end \ No newline at end of file