Class: MDQT::CLI::Reset
Instance Method Summary collapse
Methods inherited from Base
absorb_piped_args, #advise_on_xml_signing_support, #args, #args=, #btw, check_requirements, #colour_shell?, #explain, #extract_certificate_paths, #halt!, #hey, #initialize, introduce, #options, #options=, #output, parse_stdin, #pastel, piped?, run, #yay
Constructor Details
This class inherits a constructor from MDQT::CLI::Base
Instance Method Details
#run ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/mdqt/cli/reset.rb', line 9 def run client = MDQT::Client.new( :not_required, verbose: false, cache_type: :file ) print "Removing all cached files... " client.cache_reset! yay "done." end |