lib/dogids/cache.rb in dogids-cli-0.0.19 vs lib/dogids/cache.rb in dogids-cli-0.0.20
- old
+ new
@@ -8,26 +8,31 @@
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 css # Clear CSS cache for the dogids.dev storefront"
- puts " dogids cache:dev javascript # Clear Javascript cache for the dogids.dev storefront"
- puts " dogids cache:dev qa # Clear Q&A cache for the dogids.dev storefront"
+ puts " Use the following format:"
+ puts " dogids cache:<environment> <machine> <action>"
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 staging.dogids.com storefront"
- puts " dogids cache:staging css # Clear CSS cache for the staging.dogids.com storefront"
- puts " dogids cache:staging javascript # Clear Javascript cache for the staging.dogids.com storefront"
- puts " dogids cache:staging qa # Clear Q&A cache for the staging.dogids.com storefront"
+ puts " Here are some basic examples:"
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 css # Clear CSS cache for the production.dogids.com storefront"
- puts " dogids cache:production javascript # Clear Javascript cache for the production.dogids.com storefront"
- puts " dogids cache:production qa # Clear Q&A cache for the dogids.com storefront"
+ puts " dogids cache:dev dev clear # Clear whole cache for the dogids.dev storefront"
+ puts " dogids cache:dev dev category # Clear category cache for the dogids.dev storefront"
+ puts " dogids cache:dev dev css # Clear CSS cache for the dogids.dev storefront"
+ puts " dogids cache:dev dev javascript # Clear Javascript cache for the dogids.dev storefront"
+ puts " dogids cache:dev dev qa # Clear Q&A cache for the dogids.dev storefront"
+ puts " "
+ puts " dogids cache:staging staging clear # Clear whole cache for the staging.dogids.com storefront"
+ puts " dogids cache:staging staging category # Clear category cache for the staging.dogids.com storefront"
+ puts " dogids cache:staging staging css # Clear CSS cache for the staging.dogids.com storefront"
+ puts " dogids cache:staging staging javascript # Clear Javascript cache for the staging.dogids.com storefront"
+ puts " dogids cache:staging staging qa # Clear Q&A cache for the staging.dogids.com storefront"
+ puts " "
+ puts " dogids cache:production web clear # Clear whole cache for the dogids.com storefront"
+ puts " dogids cache:production web category # Clear category cache for the dogids.dev storefront"
+ puts " dogids cache:production web css # Clear CSS cache for the production.dogids.com storefront"
+ puts " dogids cache:production web javascript # Clear Javascript cache for the production.dogids.com storefront"
+ puts " dogids cache:production web qa # Clear Q&A cache for the dogids.com storefront"
puts " "
end
end
end