Class: FLACsmith::CLI::Actions::List
- Inherits:
-
Object
- Object
- FLACsmith::CLI::Actions::List
- Defined in:
- lib/flacsmith/cli/actions/list.rb
Overview
Handles the list action.
Instance Method Summary collapse
- #call(source_dir) ⇒ Object
-
#initialize(tagger: Metadata::Tagger, **dependencies) ⇒ List
constructor
A new instance of List.
Constructor Details
Instance Method Details
#call(source_dir) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/flacsmith/cli/actions/list.rb', line 19 def call source_dir Pathname(source_dir).files("**/*.flac").each do |path| logger.info { "FILE = #{path}" } tag path end end |