Class: Expirer::CLI
- Inherits:
-
Thor
- Object
- Thor
- Expirer::CLI
- Defined in:
- lib/expirer/cli.rb
Instance Method Summary collapse
Instance Method Details
#list ⇒ Object
20 21 22 23 24 25 26 27 |
# File 'lib/expirer/cli.rb', line 20 def list Expirer.configuration.load_from_file!([:file]) Expirer.configuration.(.to_hash) Expirer::List.with_expired do |repository| puts Expirer::Reporter.report(repository) end end |