lib/travis/cli/whoami.rb in travis-1.5.2 vs lib/travis/cli/whoami.rb in travis-1.5.3
- old
+ new
@@ -1,9 +1,11 @@
require 'travis/cli'
module Travis
module CLI
class Whoami < ApiCommand
+ description "outputs the current user"
+
def run
authenticate
say user.login, "You are %s (#{user.name})"
end
end