-
Notifications
You must be signed in to change notification settings - Fork 78
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
CLi option to output to a different file #119
Comments
Sure, I'd merge a PR like that :) You'd have to keep in mind that fixmyjs operates on files as well as directories and I believe it's recursive by default. |
I hope this contribution is good enough… #120 |
this should probably operate on directories since that's how the cli currently works, it should use something like mkdirp to create directories if they don't exist. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When used from command line,
fixmyjs
always works in-place, overwriting the file passed to. While it's arguable if that's the right approach, how about just adding a flag like-o
to specify the output file, something that tools likejs-beautify
do?The text was updated successfully, but these errors were encountered: