Sha256: d58953cab10bc3eae83e2620dfc07dbc8c4c24a147f76dc27500cfb7c3580149

Contents?: true

Size: 1000 Bytes

Versions: 17

Compression:

Stored size: 1000 Bytes

Contents

require 'thor'
require 'run_loop'
require 'run_loop/cli/errors'
require 'run_loop/cli/instruments'
require 'run_loop/cli/simctl'
require "run_loop/cli/locale"
require "run_loop/cli/codesign"

trap 'SIGINT' do
  puts 'Trapped SIGINT - exiting'
  exit 10
end

module RunLoop

  module CLI

    class Tool < Thor
      include Thor::Actions

      def self.exit_on_failure?
        true
      end

      desc 'version', 'Prints version of the run_loop gem'
      def version
        puts RunLoop::VERSION
      end

      desc 'instruments', "Interact with Xcode's command-line instruments"
      subcommand 'instruments', RunLoop::CLI::Instruments

      desc 'simctl', "Interact with Xcode's command-line simctl"
      subcommand 'simctl', RunLoop::CLI::Simctl

      desc "locale", "Tools for interacting with locales"
      subcommand "locale", RunLoop::CLI::Locale

      desc "codesign", "Tools for interacting with codesign"
      subcommand "codesign", RunLoop::CLI::Codesign

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
run_loop-2.1.6 lib/run_loop/cli/cli.rb
run_loop-2.1.5 lib/run_loop/cli/cli.rb
run_loop-2.1.4 lib/run_loop/cli/cli.rb
run_loop-2.1.3 lib/run_loop/cli/cli.rb
run_loop-2.1.2 lib/run_loop/cli/cli.rb
run_loop-2.1.1 lib/run_loop/cli/cli.rb
run_loop-2.1.1.pre5 lib/run_loop/cli/cli.rb
run_loop-2.1.1.pre4 lib/run_loop/cli/cli.rb
run_loop-2.1.1.pre3 lib/run_loop/cli/cli.rb
run_loop-2.1.1.pre2 lib/run_loop/cli/cli.rb
run_loop-2.1.1.pre1 lib/run_loop/cli/cli.rb
run_loop-2.1.0 lib/run_loop/cli/cli.rb
run_loop-2.1.0.pre1 lib/run_loop/cli/cli.rb
run_loop-2.0.10.pre1 lib/run_loop/cli/cli.rb
run_loop-2.0.9 lib/run_loop/cli/cli.rb
run_loop-2.0.8 lib/run_loop/cli/cli.rb
run_loop-2.0.7 lib/run_loop/cli/cli.rb