Class: Ronin::Wordlists::CLI::Commands::Purge Private
- Inherits:
-
Ronin::Wordlists::CLI::Command
- Object
- Core::CLI::Command
- Ronin::Wordlists::CLI::Command
- Ronin::Wordlists::CLI::Commands::Purge
- 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
-
#run ⇒ Object
private
Runs the
ronin-wordlists purge
command.
Methods included from WordlistDirOption
Instance Method Details
#run ⇒ Object
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 |