lib/vmc.rb in vmc-0.4.2 vs lib/vmc.rb in vmc-0.4.3
- old
+ new
@@ -1,12 +1,9 @@
require "vmc/version"
require "vmc/cli"
-require "vmc/cli/start"
-require "vmc/cli/service"
require "vmc/cli/user"
-require "vmc/cli/space"
-require "vmc/cli/organization"
-Dir[File.expand_path("../vmc/cli/{app,route,domain}/*.rb", __FILE__)].each do |file|
+command_files = "../vmc/cli/{app,route,domain,organization,space,service,start}/*.rb"
+Dir[File.expand_path(command_files, __FILE__)].each do |file|
require file unless File.basename(file) == 'base.rb'
end