Class: Ronin::Wordlists::CLI::Commands::Purge Private

Inherits:
Ronin::Wordlists::CLI::Command show all
Includes:
WordlistDirOption
Defined in:
lib/ronin/wordlists/cli/commands/purge.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Purges all cached wordlists.

Usage

ronin-wordlists purge [options]

Options

-d, --wordlist-dir DIR           The wordlist directory
-h, --help                       Print help information

Instance Method Summary collapse

Methods included from WordlistDirOption

included, #wordlist_dir

Instance Method Details

#runObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Runs the ronin-wordlists purge command.



51
52
53
54
# File 'lib/ronin/wordlists/cli/commands/purge.rb', line 51

def run
  cache_dir = CacheDir.new
  cache_dir.purge
end