cli icon indicating copy to clipboard operation
cli copied to clipboard

How to run on a directory vs single file?

Open christopherpickering opened this issue 2 years ago • 0 comments

I'm trying to run on a directory of files, vs just one file, but can't seem to get it to work:

If I have a few files:

templates/one.html templates/two.html templates/three.html

unibeautify --language HTML  -f templates/one.html

works on file one.

If I try any of these

unibeautify --language HTML  -f templates/
unibeautify --language HTML  -f templates/**
unibeautify --language HTML  -f templates/*.html

still only the first file in the folder is formatted.

Is there any way to run on all "*.html" files recursively through my project?

Thanks!

christopherpickering avatar Jul 09 '21 12:07 christopherpickering