Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional flags for delete command #492

Open
dlevy-msft opened this issue Dec 11, 2023 · 2 comments
Open

Additional flags for delete command #492

dlevy-msft opened this issue Dec 11, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@dlevy-msft
Copy link

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.

@dlevy-msft dlevy-msft added the enhancement New feature or request label Dec 11, 2023
@dlevy-msft dlevy-msft added this to the January 2024 Release milestone Dec 11, 2023
@JerryNixon
Copy link

JerryNixon commented Dec 11, 2023

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.

@AxzelBC
Copy link

AxzelBC commented Jan 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants