sql-parser icon indicating copy to clipboard operation
sql-parser copied to clipboard

The executable files should be merged into a single executable file

Open MauricioFauth opened this issue 2 years ago • 2 comments

This library currently ships with three executable files: highlight-query, lint-query and tokenize-query.

I propose that the three files should be combined into a single executable file called sql-parser.

-lint-query --query "SELECT 1"
+sql-parser --query "SELECT 1"
-lint-query --query "SELECT 1"
+sql-parser --lint --query "SELECT 1"
-highlight-query --query "SELECT 1"
+sql-parser --highlight --query "SELECT 1"
-tokenize-query --query "SELECT 1"
+sql-parser --tokenize --query "SELECT 1"

I think that highlight-query, lint-query and tokenize-query should be removed only in version 7.0.0.

MauricioFauth avatar Oct 06 '23 11:10 MauricioFauth

I'd say in 6.0?

williamdes avatar Oct 07 '23 08:10 williamdes