lib/tlapse/cli/alpha.rb in tlapse-0.5.1 vs lib/tlapse/cli/alpha.rb in tlapse-0.6.0
- old
+ new
@@ -46,7 +46,16 @@
end
end
video.create!
end
+
+ desc "normalize", "Cannonically organize pictures in the current directory"
+ option :dry_run,
+ desc: "Print out what would change without actually changing anything",
+ type: :boolean,
+ default: false
+ def normalize
+ Tlapse::Util.normalize! dry_run: options[:dry_run]
+ end
end
end