Sha256: a24f2724ca0f4eed6df861af1ece40dbae48f35778a357d258f2d7ebb79ec24d

Contents?: true

Size: 573 Bytes

Versions: 77

Compression:

Stored size: 573 Bytes

Contents

require "thor"
require "run_loop"
require "run_loop/cli/errors"

module RunLoop
  module CLI
    class Codesign < Thor

      desc "info ARTIFACT", "Print codesign information about ARTIFACT (ipa, app, or library)"

      def info(app_or_ipa)
        extension = File.extname(app_or_ipa)

        if extension == ".app"
          puts RunLoop::App.new(app_or_ipa).codesign_info
        elsif extension == ".ipa"
          puts RunLoop::Ipa.new(app_or_ipa).codesign_info
        else
          puts RunLoop::Codesign.info(app_or_ipa)
        end
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 2 rubygems

Version Path
run_loop-4.9.1 lib/run_loop/cli/codesign.rb
run_loop-4.9.0 lib/run_loop/cli/codesign.rb
run_loop-4.8.1 lib/run_loop/cli/codesign.rb
run_loop-4.8.0 lib/run_loop/cli/codesign.rb
run_loop-4.7.0 lib/run_loop/cli/codesign.rb
run_loop-4.6.3 lib/run_loop/cli/codesign.rb
run_loop-4.6.1 lib/run_loop/cli/codesign.rb
run_loop-4.6.0 lib/run_loop/cli/codesign.rb
run_loop-4.5.7 lib/run_loop/cli/codesign.rb
run_loop-4.5.6 lib/run_loop/cli/codesign.rb
run_loop-4.5.5 lib/run_loop/cli/codesign.rb
run_loop-4.5.4 lib/run_loop/cli/codesign.rb
run_loop-4.5.3 lib/run_loop/cli/codesign.rb
run_loop-4.5.2 lib/run_loop/cli/codesign.rb
run_loop-4.5.1 lib/run_loop/cli/codesign.rb
run_loop-4.5.0 lib/run_loop/cli/codesign.rb
run_loop-4.4.2 lib/run_loop/cli/codesign.rb
run_loop-4.4.1 lib/run_loop/cli/codesign.rb
run_loop-2.3.2 lib/run_loop/cli/codesign.rb
run_loop-4.3.0 lib/run_loop/cli/codesign.rb