Alias `vagrant login` command

This commit is contained in:
Brian Cain 2018-08-28 13:44:04 -07:00
parent 9b385df4ec
commit e67dac0dbb
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
1 changed files with 4 additions and 3 deletions

View File

@ -12,9 +12,10 @@ module VagrantPlugins
DESC DESC
command(:login) do command(:login) do
require_relative "command" require File.expand_path("../../cloud/auth/login", __FILE__)
init! init!
Command # TODO: Print dep warning here?
VagrantPlugins::CloudCommand::AuthCommand::Command::Login
end end
action_hook(:cloud_authenticated_boxes, :authenticate_box_url) do |hook| action_hook(:cloud_authenticated_boxes, :authenticate_box_url) do |hook|
@ -26,7 +27,7 @@ module VagrantPlugins
def self.init! def self.init!
return if defined?(@_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! I18n.reload!
@_init = true @_init = true
end end