class Fontist::CacheCLI
Public Instance Methods
clear()
click to toggle source
# File lib/fontist/cache_cli.rb, line 6 def clear handle_class_options(options) dir = Fontist.downloads_path dir.each_child(&:rmtree) if dir.exist? clear_indexes Fontist.ui.success("Cache has been successfully removed.") CLI::STATUS_SUCCESS end