lovell / avif-cli

Command line utility to convert images to AVIF
Apache License 2.0
165 stars 18 forks source link

Input directory should be default output directory #7

Closed evayde closed 2 years ago

evayde commented 2 years ago

I think that the current implementation is pretty confusing.

If we want the output-dir to be the same as input dir we have to provide an empty output-dir as a parameter, like: avif --input="..." --output=""

I guess that's confusing UX. It would be better when the default output-dir would be the input dir itself, especially when input dir is a glob pattern.

I have opened a PR for it, https://github.com/lovell/avif-cli/pull/6

lovell commented 2 years ago

I agree, this makes sense, thank you for the suggestion and PR.

lovell commented 2 years ago

v0.1.0 now available with your change, thank you.