Class: Stool::Command::Repo::CacheClean
- Inherits:
-
Stool::Command::Repo
- Object
- CLAide::Command
- Stool::Command
- Stool::Command::Repo
- Stool::Command::Repo::CacheClean
- Defined in:
- lib/stool/Command/Repo/CacheClean.rb
Instance Method Summary collapse
-
#initialize(argv) ⇒ CacheClean
constructor
A new instance of CacheClean.
-
#run ⇒ Object
查看当前的pool list.
Methods inherited from Stool::Command
#checkConfigFile, options, #pp
Constructor Details
#initialize(argv) ⇒ CacheClean
Returns a new instance of CacheClean.
14 15 16 |
# File 'lib/stool/Command/Repo/CacheClean.rb', line 14 def initialize(argv) super end |
Instance Method Details
#run ⇒ Object
查看当前的pool list
19 20 21 22 23 24 25 |
# File 'lib/stool/Command/Repo/CacheClean.rb', line 19 def run pp('') pp('**Pool list') List::pools_from_config.map do |pInfo| pInfo.info_tos end end |