Alias `vagrant login` command
This commit is contained in:
parent
9b385df4ec
commit
e67dac0dbb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue