Class: Ronin::Repos::CLI::Commands::Purge Private

Inherits:
Ronin::Repos::CLI::Command show all
Defined in:
lib/ronin/repos/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.

The ronin-repos purge command.

Usage

ronin-repos purge [options]

Options

-C, --cache-dir DIR              Overrides the default cache directory
-h, --help                       Print help information

Instance Attribute Summary

Attributes inherited from Ronin::Repos::CLI::Command

#cache_dir

Instance Method Summary collapse

Methods inherited from Ronin::Repos::CLI::Command

#initialize

Constructor Details

This class inherits a constructor from Ronin::Repos::CLI::Command

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-repos purge command.



46
47
48
# File 'lib/ronin/repos/cli/commands/purge.rb', line 46

def run
  cache_dir.purge
end