Skip to content

Java, shell and emacs tools to beautify sql from stdin via blancosqlformatter

License

Notifications You must be signed in to change notification settings

ldeck/SqlBeautify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SqlBeautify

Java, shell and emacs tool to beautify sql from stdin via igapyon/blancoSqlFormatter.git.

Installation

Download the repo, cd into it, and build the jar into lib/SqlBeautify-*.jar.

git clone [email protected]:ldeck/SqlBeautify.git
cd SqlBeautify
ant

Usage

Usage: bin/beautify-sql < <stdin>

#Examples:

$ echo "select * from foo;" | bin/beautify-sql
SELECT
        *
    FROM
        foo
;

Thanks

These tools are inspired by https://www.emacswiki.org/emacs/SqlBeautify.

About

Java, shell and emacs tools to beautify sql from stdin via blancosqlformatter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published