Sha256: 2f10ff90a1f95af4fd4852fbdecacc4112ebd7cc2ea03f66837c8b7af30bebd5

Contents?: true

Size: 418 Bytes

Versions: 17

Compression:

Stored size: 418 Bytes

Contents

require_relative './util.rb'

module Slowlane
  module Portal
    class Team < Thor

      desc "list", "List apps"
      def list()
        require "spaceship"

        c=Utils.credentials(options)
        Spaceship::Portal.login(c.username,c.password)

        Spaceship::Portal.client.teams.each do |team|
          puts "#{team['teamId']}|#{team['type']}|#{team['name']}"
        end

      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
slowlane-1.2.5 lib/slowlane/portal/team.rb
slowlane-1.2.4 lib/slowlane/portal/team.rb
slowlane-1.2.3 lib/slowlane/portal/team.rb
slowlane-1.2.2 lib/slowlane/portal/team.rb
slowlane-1.2.1 lib/slowlane/portal/team.rb
slowlane-1.2.0 lib/slowlane/portal/team.rb
slowlane-1.1.1 lib/slowlane/portal/team.rb
slowlane-1.1.0 lib/slowlane/portal/team.rb
slowlane-1.0.1 lib/slowlane/portal/team.rb
slowlane-1.0.0 lib/slowlane/portal/team.rb
slowlane-0.0.9 lib/slowlane/portal/team.rb
slowlane-0.0.8 lib/slowlane/portal/team.rb
slowlane-0.0.6 lib/slowlane/portal/team.rb
slowlane-0.0.5 lib/slowlane/portal/team.rb
slowlane-0.0.4 lib/slowlane/portal/team.rb
slowlane-0.0.3.alpha lib/slowlane/portal/team.rb
slowlane-0.0.1.alpha lib/slowlane/portal/team.rb