lib/uffizzi/cli/logout.rb in uffizzi-cli-0.4.0 vs lib/uffizzi/cli/logout.rb in uffizzi-cli-0.5.0
- old
+ new
@@ -5,9 +5,13 @@
module Uffizzi
class CLI::Logout
include ApiClient
+ def initialize(options)
+ @options = options
+ end
+
def run
return Uffizzi.ui.say('You are not logged in') unless Uffizzi::AuthHelper.signed_in?
hostname = ConfigFile.read_option(:hostname)
destroy_session(hostname)