snapshot/lib/snapshot/commands_generator.rb in fastlane-2.130.0.beta.20190822200101 vs snapshot/lib/snapshot/commands_generator.rb in fastlane-2.130.0.beta.20190823200017
- old
+ new
@@ -54,13 +54,13 @@
end
command :update do |c|
c.syntax = 'fastlane snapshot update'
c.description = "Updates your SnapshotHelper.swift to the latest version"
-
+ c.option('--force', 'Disables confirmation prompts')
c.action do |args, options|
require 'snapshot/update'
- Snapshot::Update.new.update
+ Snapshot::Update.new.update(force: options.force)
end
end
command :reset_simulators do |c|
c.syntax = 'fastlane snapshot reset_simulators'