From e67dac0dbb33bacbecc92d5e2ced7d0d5a31990a Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 28 Aug 2018 13:44:04 -0700 Subject: [PATCH] Alias `vagrant login` command --- plugins/commands/login/plugin.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/commands/login/plugin.rb b/plugins/commands/login/plugin.rb index a231bcb65..917cd7dcb 100644 --- a/plugins/commands/login/plugin.rb +++ b/plugins/commands/login/plugin.rb @@ -12,9 +12,10 @@ module VagrantPlugins DESC command(:login) do - require_relative "command" + require File.expand_path("../../cloud/auth/login", __FILE__) init! - Command + # TODO: Print dep warning here? + VagrantPlugins::CloudCommand::AuthCommand::Command::Login end action_hook(:cloud_authenticated_boxes, :authenticate_box_url) do |hook| @@ -26,7 +27,7 @@ module VagrantPlugins def self.init! return if defined?(@_init) - I18n.load_path << File.expand_path("../locales/en.yml", __FILE__) + I18n.load_path << File.expand_path("../../cloud/locales/en.yml", __FILE__) I18n.reload! @_init = true end