lib/vcloud/core/login_cli.rb
def run
        begin
          pass = read_pass
          puts Vcloud::Core::Fog::Login.token_export(pass)
        rescue => e
          $stderr.puts(e)
          exit 1
        end
      end
# Login to vCloud and print shell commands suitable for setting the vcloud_token
#
# @return [void]
Login to vCloud and print shell commands suitable for setting the vcloud_token
Login to vCloud and print shell commands suitable for setting the vcloud_token
def run
        begin
          pass = read_pass
          puts Vcloud::Core::Fog::Login.token_export(pass)
        rescue => e
          $stderr.puts(e)
          exit 1
        end
      end
def run begin pass = read_pass puts Vcloud :: Core :: Fog :: Login . token_export ( pass ) rescue => e $stderr . puts ( e ) exit 1 end end
Login to vCloud and print shell commands suitable for setting the vcloud_token
Login to vCloud and print shell commands suitable for setting the vcloud_token
None
void