lib/snapshot/options.rb in snapshot-1.7.0 vs lib/snapshot/options.rb in snapshot-1.8.0

- old
+ new

@@ -75,15 +75,32 @@ FastlaneCore::ConfigItem.new(key: :reinstall_app, env_name: 'SNAPSHOT_REINSTALL_APP', description: "Enabling this option will automatically uninstall the application before running it", default_value: false, is_string: false), + FastlaneCore::ConfigItem.new(key: :erase_simulator, + env_name: 'SNAPSHOT_ERASE_SIMULATOR', + description: "Enabling this option will automatically erase the simulator before running the application", + default_value: false, + is_string: false), FastlaneCore::ConfigItem.new(key: :app_identifier, env_name: 'SNAPSHOT_APP_IDENTIFIER', short_option: "-a", optional: true, description: "The bundle identifier of the app to uninstall (only needed when enabling reinstall_app)", default_value: ENV["SNAPSHOT_APP_IDENTITIFER"] || CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)), + FastlaneCore::ConfigItem.new(key: :add_photos, + env_name: 'SNAPSHOT_PHOTOS', + short_option: "-j", + description: "A list of photos that should be added to the simulator before running the application", + type: Array, + optional: true), + FastlaneCore::ConfigItem.new(key: :add_videos, + env_name: 'SNAPSHOT_VIDEOS', + short_option: "-u", + description: "A list of videos that should be added to the simulator before running the application", + type: Array, + optional: true), # Everything around building FastlaneCore::ConfigItem.new(key: :buildlog_path, short_option: "-l", env_name: "SNAPSHOT_BUILDLOG_PATH",