Sha256: b4802b2051dd5e37c92ab02e804d9ed908a26022f7a916ae2ee07ce2f19f50bb

Contents?: true

Size: 164 Bytes

Versions: 14

Compression:

Stored size: 164 Bytes

Contents

class Kontena::Cli::LogoutCommand < Clamp::Command
  include Kontena::Cli::Common

  def execute
    settings['server'].delete('token')
    save_settings
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
kontena-cli-0.10.3 lib/kontena/cli/logout_command.rb
kontena-cli-0.10.2 lib/kontena/cli/logout_command.rb
kontena-cli-0.10.1 lib/kontena/cli/logout_command.rb
kontena-cli-0.10.0 lib/kontena/cli/logout_command.rb
kontena-cli-0.9.3 lib/kontena/cli/logout_command.rb
kontena-cli-0.9.2 lib/kontena/cli/logout_command.rb
kontena-cli-0.9.1 lib/kontena/cli/logout_command.rb
kontena-cli-0.9.0 lib/kontena/cli/logout_command.rb
kontena-cli-0.8.4 lib/kontena/cli/logout_command.rb
kontena-cli-0.8.3 lib/kontena/cli/logout_command.rb
kontena-cli-0.8.2 lib/kontena/cli/logout_command.rb
kontena-cli-0.8.1 lib/kontena/cli/logout_command.rb
kontena-cli-0.8.0.1 lib/kontena/cli/logout_command.rb
kontena-cli-0.8.0 lib/kontena/cli/logout_command.rb