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-2.1.4 lib/run_loop/cli/codesign.rb
run_loop_tcc-2.1.4 lib/run_loop/cli/codesign.rb
run_loop_tcc-2.1.3 lib/run_loop/cli/codesign.rb
run_loop-2.1.3 lib/run_loop/cli/codesign.rb
run_loop-2.1.2 lib/run_loop/cli/codesign.rb
run_loop-2.1.1 lib/run_loop/cli/codesign.rb
run_loop-2.1.1.pre5 lib/run_loop/cli/codesign.rb
run_loop-2.1.1.pre4 lib/run_loop/cli/codesign.rb
run_loop-2.1.1.pre3 lib/run_loop/cli/codesign.rb
run_loop-2.1.1.pre2 lib/run_loop/cli/codesign.rb
run_loop-2.1.1.pre1 lib/run_loop/cli/codesign.rb
run_loop-2.1.0 lib/run_loop/cli/codesign.rb
run_loop-2.1.0.pre1 lib/run_loop/cli/codesign.rb
run_loop-2.0.10.pre1 lib/run_loop/cli/codesign.rb
run_loop-2.0.9 lib/run_loop/cli/codesign.rb
run_loop-2.0.8 lib/run_loop/cli/codesign.rb
run_loop-2.0.7 lib/run_loop/cli/codesign.rb