Sha256: 0afffb4458d4de37239e1e5a386ffc41a66a0cc8290b3b0329f5a5fdfbf48733

Contents?: true

Size: 1.51 KB

Versions: 14

Compression:

Stored size: 1.51 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_PORTAL_USERNAME]'
  class_option :password , :default => '<password>' , :required => true, :desc => 'password [SLOWLANE_PORTAL_PASSWORD]'
  class_option :team , :default => '<team>' , :required => false, :desc => 'team [SLOWLANE_PORTAL_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 push notifications"
  subcommand "psn", Slowlane::Portal::Psn

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

SlowlanePortal.start(ARGV)

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
slowlane-1.2.5 bin/slowlane-portal
slowlane-1.2.4 bin/slowlane-portal
slowlane-1.2.3 bin/slowlane-portal
slowlane-1.2.2 bin/slowlane-portal
slowlane-1.2.1 bin/slowlane-portal
slowlane-1.2.0 bin/slowlane-portal
slowlane-1.1.1 bin/slowlane-portal
slowlane-1.1.0 bin/slowlane-portal
slowlane-1.0.1 bin/slowlane-portal
slowlane-1.0.0 bin/slowlane-portal
slowlane-0.0.9 bin/slowlane-portal
slowlane-0.0.8 bin/slowlane-portal
slowlane-0.0.6 bin/slowlane-portal
slowlane-0.0.5 bin/slowlane-portal