|
@@ -15,6 +15,7 @@ when 'extract'
|
|
|
when 'build'
|
|
when 'build'
|
|
|
parser.on('-s [PATH]', '--source', 'Input directory with image directories')
|
|
parser.on('-s [PATH]', '--source', 'Input directory with image directories')
|
|
|
parser.on('-d [PATH]', '--dest', 'Output directory for html and images')
|
|
parser.on('-d [PATH]', '--dest', 'Output directory for html and images')
|
|
|
|
|
+ parser.on('-t', '--thumbnails', 'Automatically generate missing thumbnails')
|
|
|
options = {dest: '.'}
|
|
options = {dest: '.'}
|
|
|
parser.parse!(into: options)
|
|
parser.parse!(into: options)
|
|
|
Fotos::HtmlGenerator.new(options).call
|
|
Fotos::HtmlGenerator.new(options).call
|