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.2.3 lib/run_loop/cli/codesign.rb
run_loop-4.2.2 lib/run_loop/cli/codesign.rb
run_loop-4.2.1 lib/run_loop/cli/codesign.rb
run_loop-4.2.0 lib/run_loop/cli/codesign.rb
run_loop-4.1.0 lib/run_loop/cli/codesign.rb
run_loop-4.0.0 lib/run_loop/cli/codesign.rb
run_loop-3.0.1 lib/run_loop/cli/codesign.rb
run_loop-3.0.0 lib/run_loop/cli/codesign.rb
run_loop-2.7.1 lib/run_loop/cli/codesign.rb
run_loop-2.7.0 lib/run_loop/cli/codesign.rb
run_loop-2.6.6 lib/run_loop/cli/codesign.rb
run_loop-2.6.5 lib/run_loop/cli/codesign.rb
run_loop-2.6.4 lib/run_loop/cli/codesign.rb
run_loop-2.6.3 lib/run_loop/cli/codesign.rb
run_loop-2.6.2 lib/run_loop/cli/codesign.rb
run_loop-2.6.1 lib/run_loop/cli/codesign.rb
run_loop-2.6.0 lib/run_loop/cli/codesign.rb
run_loop-2.5.4 lib/run_loop/cli/codesign.rb
run_loop-2.5.3 lib/run_loop/cli/codesign.rb
run_loop-2.5.2 lib/run_loop/cli/codesign.rb