Class: Ronin::Repos::CLI::Commands::Purge Private
- Inherits:
-
Ronin::Repos::CLI::Command
- Object
- Core::CLI::Command
- Ronin::Repos::CLI::Command
- Ronin::Repos::CLI::Commands::Purge
- 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
Instance Method Summary collapse
-
#run ⇒ Object
private
Runs the
ronin-repos purge
command.
Methods inherited from Ronin::Repos::CLI::Command
Constructor Details
This class inherits a constructor from Ronin::Repos::CLI::Command
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-repos purge
command.
46 47 48 |
# File 'lib/ronin/repos/cli/commands/purge.rb', line 46 def run cache_dir.purge end |