Sha256: 30b5256ba0951f354e2bde7924ead7110f3f17a63e193244ae493015d2e79e18
Contents?: true
Size: 492 Bytes
Versions: 30
Compression:
Stored size: 492 Bytes
Contents
require 'ey-core/cli/subcommand' module Ey module Core module Cli class Logout < Subcommand title "logout" summary "Remove your Engine Yard API token" def handle if core_yaml[core_url] core_yaml.delete(core_url) write_core_yaml puts "Successfully removed API token from credentials file".green else puts "No API token found".yellow end end end end end end
Version data entries
30 entries across 30 versions & 2 rubygems