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

Command line syntax highlighter: Adding in support for multiple queries. #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kYuZz
Copy link

@kYuZz kYuZz commented Mar 19, 2015

Hi, I found your CLI command very useful and I love that I can pipe SQL into it, for example:

php app/console doctrine:schema:update --dump-sql | sql-formatter

However, when running commands that output multiple queries (like the one above), the formatting looks a bit strange. I added some very simple code that breaks multiple queries and formats them separately. I hope you'll be fine with adding it to your repository.

Again, thanks for your powerful SQL highlighter.

Sam

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

Successfully merging this pull request may close these issues.

2 participants