Skip to content

mdw-go/valign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

valign

Vertical alignment tool.

Given a file called query.sql with the following contents:

SELECT 'a' FROM table;
SELECT 'hello' FROM table;
SELECT 'goodbye' FROM table;
SELECT 'really-super-long-name' FROM table;

When processed with valign:

$ cat query.sql | valign -match "FROM"
SELECT 'a'                      FROM table;
SELECT 'hello'                  FROM table;
SELECT 'goodbye'                FROM table;
SELECT 'really-super-long-name' FROM table;

About

Simple multi-line vertical alignment tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published