lib/pilot/options.rb in pilot-1.0.0 vs lib/pilot/options.rb in pilot-1.0.1

- old
+ new

@@ -64,10 +64,19 @@ FastlaneCore::ConfigItem.new(key: :testers_file_path, short_option: "-c", env_name: "PILOT_TESTERS_FILE", description: "Path to a CSV file of testers", default_value: "./testers.csv", - optional: true) + optional: true), + FastlaneCore::ConfigItem.new(key: :wait_processing_interval, + short_option: "-k", + env_name: "PILOT_WAIT_PROCESSING_INTERVAL", + description: "Interval in seconds to wait for iTunes Connect processing", + default_value: 30, + is_string: false, + verify_block: proc do |value| + raise "Please enter a valid positive number of seconds" unless value.to_i > 0 + end) ] end end end