From 3b92f12ee96196a4e1f5aaaf31578bb54e5d6acb Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Mon, 16 Nov 2015 09:04:52 -0800 Subject: [PATCH] Print obtained token during get command if no token exists --- lib/vmfloaty.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vmfloaty.rb b/lib/vmfloaty.rb index e69898d..283830c 100644 --- a/lib/vmfloaty.rb +++ b/lib/vmfloaty.rb @@ -52,6 +52,8 @@ class Vmfloaty puts "No token found. Retrieving a token..." pass = password "Enter your password please:", '*' token = Auth.get_token(verbose, url, user, pass) + puts "\nToken retrieved!" + puts token end response = Pooler.retrieve(verbose, os_types, token, url)