Class: AbsoluteRenamer::ListingParser

Inherits:
IParser show all
Defined in:
lib/absolute_renamer/external/parsers/listing/parser.rb

Class Method Summary collapse

Methods inherited from WithChildren

inherited

Methods included from UseConfig

#conf

Class Method Details

.add_options(parser, options) ⇒ Object



3
4
5
6
7
# File 'lib/absolute_renamer/external/parsers/listing/parser.rb', line 3

def self.add_options(parser, options)
    parser.on('-l', '--list', "Only display how files will be renamed") do
        options[:listing] = true
    end
end