Sha256: 82b47906ca405c2d9ec90aa7592d3b255e060cf0c4820e9da9e6b8f76e01e97a
Contents?: true
Size: 1.9 KB
Versions: 1
Compression:
Stored size: 1.9 KB
Contents
require 'simctl/command/boot' require 'simctl/command/create' require 'simctl/command/delete' require 'simctl/command/erase' require 'simctl/command/install' require 'simctl/command/io' require 'simctl/command/keychain' require 'simctl/command/kill' require 'simctl/command/launch' require 'simctl/command/privacy' require 'simctl/command/terminate' require 'simctl/command/list' require 'simctl/command/openurl' require 'simctl/command/push' require 'simctl/command/rename' require 'simctl/command/reset' require 'simctl/command/shutdown' require 'simctl/command/spawn' require 'simctl/command/status_bar' require 'simctl/command/uninstall' require 'simctl/command/upgrade' require 'simctl/command/warmup' require 'simctl/executor' require 'shellwords' module SimCtl class Command attr_accessor :device_set_path include SimCtl::Command::Boot include SimCtl::Command::Create include SimCtl::Command::Delete include SimCtl::Command::Erase include SimCtl::Command::IO include SimCtl::Command::Install include SimCtl::Command::Keychain include SimCtl::Command::Kill include SimCtl::Command::Launch include SimCtl::Command::List include SimCtl::Command::OpenUrl include SimCtl::Command::Privacy include SimCtl::Command::Push include SimCtl::Command::Rename include SimCtl::Command::Reset include SimCtl::Command::Shutdown include SimCtl::Command::Spawn include SimCtl::Command::StatusBar include SimCtl::Command::Terminate include SimCtl::Command::Uninstall include SimCtl::Command::Upgrade include SimCtl::Command::Warmup def device_set_path=(device_set_path) @device_set_path = File.expand_path(device_set_path) end def command_for(*arguments) command = %w[xcrun simctl] command += ['--set', Shellwords.shellescape(device_set_path)] unless device_set_path.nil? command += arguments command end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simctl-1.6.10 | lib/simctl/command.rb |