bin/snapshot in snapshot-1.1.1 vs bin/snapshot in snapshot-1.2.0
- old
+ new
@@ -47,9 +47,19 @@
path = (Snapshot::Helper.fastlane_enabled? ? './fastlane' : '.')
Snapshot::Setup.create(path)
end
end
+ command :update do |c|
+ c.syntax = 'snapshot update'
+ c.description = "Updates your SnapshotHelper.swift to the latest version"
+
+ c.action do |args, options|
+ require 'snapshot/update'
+ Snapshot::Update.new.update
+ end
+ 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 comma separated list of iOS Versions you want to use'