go-sqlcmd
go-sqlcmd copied to clipboard
Additional flags for delete command
Sometimes in a script you want to clean up an environment before running.
sqlcmd delete --remove-all would be helpful for bat scripts.
sqlcmd delete --context-only would be useful for environments where containers are created frequently and maintaining the context could be a security risk or just not useful due to subsequent scripts.
Also -q or something like it to delete but not suggest something is wrong (by outputting "no context found") if there is no context, for example.
I support it. One way to do this is to use the Viper In addition, Viper allows you continue using the env variable, which I consider a great help.