lib/travis/cli/logout.rb in travis-1.5.6.travis.326.4 vs lib/travis/cli/logout.rb in travis-1.5.6.travis.329.4
- old
+ new
@@ -1,9 +1,11 @@
require 'travis/cli'
module Travis
module CLI
class Logout < ApiCommand
+ description "deletes the stored API token"
+
def run
endpoint_config.delete('access_token')
success("Successfully logged out!")
end
end