Sha256: e58a9f285ab62b14ee2535cf0d03492ac92bc7f2cbf20556fca6b54dd552d06a

Contents?: true

Size: 717 Bytes

Versions: 18

Compression:

Stored size: 717 Bytes

Contents

require 'thor'
require 'run_loop'
require 'run_loop/cli/errors'
require 'run_loop/cli/instruments'
require 'run_loop/cli/simctl'

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

    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
run_loop-2.0.4 lib/run_loop/cli/cli.rb
run_loop-2.0.3 lib/run_loop/cli/cli.rb
run_loop-2.0.2 lib/run_loop/cli/cli.rb
run_loop-2.0.1 lib/run_loop/cli/cli.rb
run_loop-2.0.0 lib/run_loop/cli/cli.rb
run_loop-1.5.6 lib/run_loop/cli/cli.rb
run_loop-1.5.6.pre1 lib/run_loop/cli/cli.rb
run_loop-1.5.5 lib/run_loop/cli/cli.rb
run_loop-1.5.4 lib/run_loop/cli/cli.rb
run_loop-1.5.3 lib/run_loop/cli/cli.rb
run_loop-1.5.2 lib/run_loop/cli/cli.rb
run_loop-1.5.1 lib/run_loop/cli/cli.rb
run_loop-1.5.0 lib/run_loop/cli/cli.rb
run_loop-1.4.1 lib/run_loop/cli/cli.rb
run_loop-1.4.0 lib/run_loop/cli/cli.rb
run_loop-1.3.3 lib/run_loop/cli/cli.rb
run_loop-1.3.3.pre1 lib/run_loop/cli/cli.rb
run_loop-1.3.2 lib/run_loop/cli/cli.rb