As this is a dotnet tool you can install using the dotnet CLI:
dotnet tool install gaspra.functions
(append -g
if you'd like it installed globally)
To uninstall simply run:
dotnet uninstall gaspra.functions
(use -g
again if you installed it globally)
Just run gaspra.functions ms -c "connection string"
, this will run the merge sproc generator against the database in the connection string and create a folder from wherever you're calling the function from called .output
which will contain all the scripts.