Module: FastlyCTL

Defined in:
lib/fastlyctl.rb,
lib/fastlyctl/cli.rb,
lib/fastlyctl/utils.rb,
lib/fastlyctl/fetcher.rb,
lib/fastlyctl/version.rb,
lib/fastlyctl/clone_utils.rb,
lib/fastlyctl/commands/acl.rb,
lib/fastlyctl/commands/tls.rb,
lib/fastlyctl/commands/copy.rb,
lib/fastlyctl/commands/diff.rb,
lib/fastlyctl/commands/open.rb,
lib/fastlyctl/commands/clone.rb,
lib/fastlyctl/commands/login.rb,
lib/fastlyctl/commands/token.rb,
lib/fastlyctl/commands/watch.rb,
lib/fastlyctl/commands/domain.rb,
lib/fastlyctl/commands/upload.rb,
lib/fastlyctl/commands/logging.rb,
lib/fastlyctl/commands/snippet.rb,
lib/fastlyctl/commands/activate.rb,
lib/fastlyctl/commands/download.rb,
lib/fastlyctl/commands/skeleton.rb,
lib/fastlyctl/commands/condition.rb,
lib/fastlyctl/commands/purge_all.rb,
lib/fastlyctl/commands/dictionary.rb,
lib/fastlyctl/commands/tls/managed.rb,
lib/fastlyctl/commands/create_service.rb

Defined Under Namespace

Modules: CloneUtils, Fetcher, TLSUtils, Utils Classes: CLI, LoggingSubCmd, TLSManagedSubCmd, TLSSubCmd

Constant Summary collapse

TOKEN_FILE =
ENV['HOME'] + "/.fastlyctl_token"
FASTLY_API =
"https://api.fastly.com"
FASTLY_RT_API =
"https://rt.fastly.com"
TANGO_PATH =
"/configure/services/"
Token =

Don’t allow header splitting with the key

File.exist?(FastlyCTL::TOKEN_FILE) ? File.read(FastlyCTL::TOKEN_FILE) : (ENV['FASTLYCLI_TOKEN'] ? ENV['FASTLYCLI_TOKEN'] : false)
VERSION =
"1.0.18"