go-sqlcmd
go-sqlcmd copied to clipboard
Cannot stop other context
I had two contexts set up, and when I tried this code, I got an error:
sqlcmd stop mssql2
I would expect to be able to specify a context and stop it. Switching between them is a hassle.
The error is shown here:

The user model here follows the patten for CLIs like kubectl, or oc (Open Shift CLI), to switch context just run:
sqlcmd use mssql2
I understand I can switch context, but switching, ending, then potentially switching back, is a hassle. I'd expect I could a paramaterize this.
I am assuming this is a design decision. Feel free to close or link to a future enhancement.