lib/kontena_cli_plugin.rb in kontena-plugin-digitalocean-0.3.1.rc1 vs lib/kontena_cli_plugin.rb in kontena-plugin-digitalocean-0.3.1

- old
+ new

@@ -1,5 +1,5 @@ require 'kontena_cli' -require_relative 'kontena/plugin/digital_ocean' -require_relative 'kontena/plugin/digital_ocean_command' +require 'kontena/plugin/digital_ocean' +require 'kontena/cli/subcommand_loader' -Kontena::MainCommand.register("digitalocean", "DigitalOcean specific commands", Kontena::Plugin::DigitalOceanCommand) +Kontena::MainCommand.register("digitalocean", "DigitalOcean specific commands", Kontena::Cli::SubcommandLoader.new('kontena/plugin/digital_ocean_command'))