Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run on a directory vs single file? #184

Open
christopherpickering opened this issue Jul 9, 2021 · 0 comments
Open

How to run on a directory vs single file? #184

christopherpickering opened this issue Jul 9, 2021 · 0 comments

Comments

@christopherpickering
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant