install .net global tool.
dotnet tool install --global mysqlquerydivider
divide sql query.
mysqlquerydivider from_string -i "CREATE TABLE create table new_t (like t1);create table log_table(row varchar(512));" -o ./bin/out
divide file.
mysqlquerydivider from_file -i ./input.sql -o ./bin/out
divide folder.
mysqlquerydivider from_dir -i ./input/sql -o ./bin/out