Sha256: 05d05a367d79d964a9a37bde13adf26346255193fbff37abe49b0c9c7acf3fb8

Contents?: true

Size: 274 Bytes

Versions: 6

Compression:

Stored size: 274 Bytes

Contents

# frozen_string_literal: true

require 'travis/cli'

module Travis
  module CLI
    class Token < ApiCommand
      description 'outputs the secret API token'

      def run
        authenticate
        say access_token, 'Your access token is %s'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
travis-1.14.0 lib/travis/cli/token.rb
travis-1.13.3 lib/travis/cli/token.rb
travis-1.13.2 lib/travis/cli/token.rb
travis-1.13.1 lib/travis/cli/token.rb
travis-1.13.0 lib/travis/cli/token.rb
travis-1.12.0 lib/travis/cli/token.rb