Convert client to class and populate with modules

This commit is contained in:
Chris Roberts 2022-01-21 13:50:26 -08:00 committed by Paul Hinze
parent ea778c188d
commit e533d9f0a8
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -1,6 +1,6 @@
module VagrantPlugins
module CommandServe
module Client
class Client
autoload :Basis, Vagrant.source_root.join("plugins/commands/serve/client/basis").to_s
autoload :Box, Vagrant.source_root.join("plugins/commands/serve/client/box").to_s
autoload :BoxCollection, Vagrant.source_root.join("plugins/commands/serve/client/box_collection").to_s
@ -18,6 +18,12 @@ module VagrantPlugins
autoload :Terminal, Vagrant.source_root.join("plugins/commands/serve/client/terminal").to_s
autoload :StateBag, Vagrant.source_root.join("plugins/commands/serve/client/state_bag").to_s
autoload :SyncedFolder, Vagrant.source_root.join("plugins/commands/serve/client/synced_folder").to_s
prepend Util::ClientSetup
include Util::HasLogger
include Util::HasSeeds::Client
include Util::HasMapper
include Util::FuncSpec
end
end
end