You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unibeautify core has functions to get the language based on several criteria, including file extension. What are you trying to do with it in the CLI exactly?
The reason for passing the language is so users can beautify specific blocks of code. For example, they might want to beautify HTML code in a .php file.
I'm not against retrieving the language from the file extension if the user doesn't specify the language through --language.
It would make it way more comfortable if I could just pass a file or files and the CLI grabs itself the file language.
The text was updated successfully, but these errors were encountered: