bin/snapshot in snapshot-0.9.3 vs bin/snapshot in snapshot-0.10.0

- old
+ new

@@ -67,16 +67,17 @@ end command :reset_simulators do |c| c.syntax = 'snapshot reset_simulators' c.description = "This will remove all your existing simulators and re-create new ones" - c.option '-i', '--ios String', String, 'The iOS Version you want to use' + c.option '-i', '--ios String', String, 'The comma separated list of iOS Versions you want to use' c.action do |args, options| - version = options.ios || Snapshot::LatestIosVersion.version + versions = [Snapshot::LatestIosVersion.version] + versions = options.ios.split(',') if options.ios require 'snapshot/reset_simulators' - Snapshot::ResetSimulators.clear_everything!(version) + Snapshot::ResetSimulators.clear_everything!(versions) end end default_command :run