Sha256: a8dbe3a6a74e5d5bc2cc1ae650395b32f9e04520429a367e7a54ec20f6a0e7a4

Contents?: true

Size: 793 Bytes

Versions: 8

Compression:

Stored size: 793 Bytes

Contents

# frozen_string_literal: true
require 'claide'
require_relative 'command'

module LgPodPlugin
  class Command
    class Doctor < Command
      self.abstract_command = false
      self.summary = 'Manipulate the CocoaPods cache'

      self.description = <<-DESC
        Manipulate the download cache for pods, like printing the cache content
        or cleaning the pods cache.
      DESC

      def initialize(argv)
        # pp argv
        super
      end

      def run
        pwd = Pathname.new(File.dirname(__FILE__)).realpath
        exexPath = pwd.parent.join("lg_pod_plugin/installer")
        FileUtils.chdir  exexPath
        pp  "sudo xattr -rd com.apple.quarantine ./PodDownload"
        result = %x(sudo xattr -rd com.apple.quarantine ./PodDownload)
      end

    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
lg_pod_plugin-1.2.2 lib/command/doctor.rb
lg_pod_plugin-1.2.1 lib/command/doctor.rb
lg_pod_plugin-1.2.0.1 lib/command/doctor.rb
lg_pod_plugin-1.2.0.0 lib/command/doctor.rb
lg_pod_plugin-1.1.8.2 lib/command/doctor.rb
lg_pod_plugin-1.1.8.1 lib/command/doctor.rb
lg_pod_plugin-1.1.7.4 lib/command/doctor.rb
lg_pod_plugin-1.1.7.3 lib/command/doctor.rb