If you are wanting proper SQL command support, you could copy the SQLite parser approach. Properly parsing all valid command texts is not a problem that I would find compelling unless I was being compensated for it.
https://www.sqlite.org/lemon.html
You could probably use something like participle, but you'd have to translate the grammar.