Sha256: e02414a7ad1af94b4e4b0e88270df7d50be560f967c4244f2a12a37ff34f082b
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 KB
Contents
require "thor" require_relative "cache/staging" require_relative "cache/production" require_relative "cache/development" module Dogids class Cli < Thor desc "cache", "List available cache commands" def cache(env_name = nil) puts " " puts "Cache Commands:" puts " " puts " dogids cache:dev clear # Clear whole cache for the dogids.dev storefront" puts " dogids cache:dev category # Clear category cache for the dogids.dev storefront" puts " dogids cache:dev qa # Clear Q&A cache for the dogids.dev storefront" puts " " puts " dogids cache:staging clear # Clear whole cache for the staging.dogids.com storefront" puts " dogids cache:staging category # Clear category cache for the dogids.dev storefront" puts " dogids cache:staging qa # Clear Q&A cache for the staging.dogids.com storefront" puts " " puts " dogids cache:production clear # Clear whole cache for the dogids.com storefront" puts " dogids cache:production category # Clear category cache for the dogids.dev storefront" puts " dogids cache:production qa # Clear Q&A cache for the dogids.com storefront" puts " " end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dogids-cli-0.0.18 | lib/dogids/cache.rb |