-
Notifications
You must be signed in to change notification settings - Fork 197
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
Add command to get current environment name #1165
Comments
We already have |
Is this not handled by |
I wanted to get the name programmatically. With az cli I can use --query to get just the name, with azd I have to manually parse the results. Maybe the answer is to support --query and return json. |
Ah I see - that make sense. Thanks for clarifying. |
Closing in favour of #1887. |
When scripting it would be helpful to be able to get the current environment name without have to dig into the config.json file.
Something like
az account show
The text was updated successfully, but these errors were encountered: