lib/cc/cli/prepare.rb in codeclimate-0.45.0 vs lib/cc/cli/prepare.rb in codeclimate-0.46.0
- old
+ new
@@ -8,9 +8,15 @@
require "uri"
module CC
module CLI
class Prepare < Command
+ ARGUMENT_LIST = "[--allow-internal-ips]".freeze
+ SHORT_HELP = "Run the commands in your prepare step.".freeze
+ HELP = "#{SHORT_HELP}\n" \
+ "\n" \
+ " --allow-internal-ips Allow fetching from internal IPs.".freeze
+
InternalHostError = Class.new(StandardError)
FetchError = Class.new(StandardError)
PRIVATE_ADDRESS_SUBNETS = [
IPAddr.new("10.0.0.0/8"),