lib/scan/options.rb in scan-0.3.3 vs lib/scan/options.rb in scan-0.4.1
- old
+ new
@@ -106,16 +106,18 @@
optional: true,
verify_block: proc do |value|
raise "File not found at path '#{File.expand_path(value)}'".red unless File.exist?(value)
end),
FastlaneCore::ConfigItem.new(key: :slack_url,
+ short_option: "-i",
env_name: "SLACK_URL",
description: "Create an Incoming WebHook for your Slack group to post results there",
optional: true,
verify_block: proc do |value|
raise "Invalid URL, must start with https://" unless value.start_with? "https://"
end),
FastlaneCore::ConfigItem.new(key: :slack_channel,
+ short_option: "-e",
env_name: "SCAN_SLACK_CHANNEL",
description: "#channel or @username",
optional: true),
FastlaneCore::ConfigItem.new(key: :skip_slack,
description: "Don't publish to slack, even when an URL is given",