Sha256: 565ef6796423b9e7dc604cfece05fd489cdd379dabc6132a9c194cece421068f

Contents?: true

Size: 1.47 KB

Versions: 1

Compression:

Stored size: 1.47 KB

Contents

#!/usr/bin/env ruby

require 'rubygems'
require "thor"
require_relative '../lib/slowlane/portal/team.rb'
require_relative '../lib/slowlane/portal/app.rb'
require_relative '../lib/slowlane/portal/profile.rb'
require_relative '../lib/slowlane/portal/device.rb'
require_relative '../lib/slowlane/portal/psn.rb'
require_relative '../lib/slowlane/portal/certificate.rb'

class SlowlanePortal < Thor

  class_option :username , :default => '<username>' , :required => true, :desc => 'username [SLOWLANE_USERNAME]'
  class_option :password , :default => '<password>' , :required => true, :desc => 'password [SLOWLANE_PASSWORD]'
  class_option :team , :default => '<team>' , :required => false, :desc => 'team [SLOWLANE_TEAM]'

  desc "profile SUBCOMMAND ...ARGS", "manage provisioning profiles"
  option :filter ,:desc => 'pattern to filter'
  subcommand "profile", Slowlane::Portal::Profile

  desc "device SUBCOMMAND ...ARGS", "manage devices"
  option :filter ,:desc => 'pattern to filter'
  subcommand "device", Slowlane::Portal::Device

  desc "app SUBCOMMAND ...ARGS", "manage apps"
  option :filter ,:desc => 'pattern to filter'
  subcommand "app", Slowlane::Portal::App

  desc "team SUBCOMMAND ...ARGS", "manage teams"
  subcommand "team", Slowlane::Portal::Team

  desc "psn SUBCOMMAND ...ARGS", "manage teams"
  subcommand "psn", Slowlane::Portal::Psn

  desc "certificate SUBCOMMAND ...ARGS", "manage teams"
  subcommand "certificate", Slowlane::Portal::Certificate
end

SlowlanePortal.start(ARGV)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slowlane-0.0.3.alpha bin/slowlane-portal