question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Silencing "Please let us know how we are doing.." from the STDOUT of az commands

See original GitHub issue

Hello , i would like to silence/remove the info msg popping up each time when executing a az cli command

Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy

tried all available options with setting the config core output to print only errors , but nothing works. Is there any specific workaround for this case ?

TIA

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
navba-MSFTcommented, Jun 20, 2022

@Nilubkal Thanks for getting back. The above PR has been filed to fix our documentation to include this command. Currently it is under review. In the meantime, if you have any questions, feel free to ask.

1reaction
devtengcommented, Jun 2, 2022

There is indeed a switch to turn the survey links off:

https://github.com/Azure/azure-cli/blob/0d71b506a3242c51e6153c0b1eead64b7e698174/src/azure-cli-core/azure/cli/core/__init__.py#L127

https://github.com/Azure/azure-cli/blob/8264073bbec8424fc7329c5587c61725ef619880/src/azure-cli-core/azure/cli/core/_help.py#L174

We definitely should document it at https://docs.microsoft.com/en-us/cli/azure/azure-cli-configuration.

FYI:

az config set output.show_survey_link=no

or

vi ~/.azure/config

[output]
show_survey_link = no

or

export AZURE_OUTPUT_SHOW_SURVEY_LINK=false

Read more comments on GitHub >

github_iconTop Results From Across the Web

Azure CLI: Suppress Output For Silent Commands / Quiet Mode
Generally, the command output is helpful in telling you that updates were made or returning values that can be used for setting variables...
Read more >
How can I suppress all output from a command using Bash?
I have a Bash script that runs a program with parameters. That program outputs some status (doing this, doing ...
Read more >
Azure CLI: How to Supress Command Output - Jon Gallant
There's no way to tell the Azure CLI to suppress output - the --output param supports json,jsonc,table,tsv,yaml.
Read more >
ALL AFNI program -help files
and this often seems misleading to me [especially for short columns]. ... if you know what you are doing (or just like to...
Read more >
Linux Curl Command Help and Examples - Computer Hope
(FTP) Tell curl to disable the use of the EPRT and LPRT commands when doing active FTP transfers. Curl will normally always first...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found