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/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/purge_all.rb,
lib/fastlyctl/commands/dictionary.rb,
lib/fastlyctl/commands/create_service.rb
Defined Under Namespace
Modules: CloneUtils, Fetcher, Utils Classes: CLI, LoggingSubCmd
Constant Summary collapse
- COOKIE_JAR =
ENV['HOME'] + "/.fastlyctl_cookie_jar"
- TOKEN_FILE =
ENV['HOME'] + "/.fastlyctl_token"
- FASTLY_API =
"https://api.fastly.com"- FASTLY_APP =
"https://manage.fastly.com"- TANGO_PATH =
"/configure/services/"- Cookies =
File.exist?(FastlyCTL::COOKIE_JAR) ? JSON.parse(File.read(FastlyCTL::COOKIE_JAR)) : {}
- Token =
Don’t allow header splitting with the key
File.exist?(FastlyCTL::TOKEN_FILE) ? File.read(FastlyCTL::TOKEN_FILE) : false
- VERSION =
"1.0.12"