lib/produce/options.rb in produce-1.3.2 vs lib/produce/options.rb in produce-1.4.0
- old
+ new
@@ -36,9 +36,18 @@
env_name: "PRODUCE_SKU",
short_option: "-y",
description: "SKU Number (e.g. '1234')",
default_value: Time.now.to_i.to_s,
is_string: true),
+ FastlaneCore::ConfigItem.new(key: :platform,
+ short_option: "-j",
+ env_name: "PRODUCE_PLATFORM",
+ description: "The platform to use (optional)",
+ optional: true,
+ default_value: "ios",
+ verify_block: proc do |value|
+ UI.user_error!("The platform can only be ios or osx") unless %('ios', 'osx').include? value
+ end),
FastlaneCore::ConfigItem.new(key: :language,
short_option: "-m",
env_name: "PRODUCE_LANGUAGE",
description: "Primary Language (e.g. 'English', 'German')",
default_value: "English",