lib/karo/cache.rb in karo-1.1.0 vs lib/karo/cache.rb in karo-1.2.0

- old
+ new

@@ -3,9 +3,13 @@ module Karo class Cache < Thor + class_option :config_file, type: :string, default: Config.default_file_name, + aliases: "-c", desc: "name of the file containing server configuration" + class_option :environment, aliases: "-e", desc: "server environment", default: "production" + desc "search", "searches for any matching cache files from the shared/cache directory" def search(name="") configuration = Config.load_configuration(options) path = File.join(configuration["path"], "shared/cache") ssh = "ssh #{configuration["user"]}@#{configuration["host"]}"