From ce40b2d664e855d591cca03088500a49f0144b6c Mon Sep 17 00:00:00 2001 From: Andre Carlucci Date: Fri, 7 Jan 2022 10:29:30 +0100 Subject: [PATCH] Update README.md --- README.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/README.md b/README.md index abed92a..0303cb9 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,36 @@ Fix.Tests ... ``` +### Fixing Azure CLI commands +#### Simple Typo + +``` +C:\dev>az vm lisr +'lisr' is misspelled or not recognized by the system. +Did you mean 'list' ? + +Examples from AI knowledge base: +az vm list +List all VMs. + +https://aka.ms/cli_ref +Read more about the command in reference docs + +C:\dev>fix +C:\dev>az vm list +... +``` + +#### Login needed +``` +C:\dev>az vm list +User someuser@somedomain.com does not exist in MSAL token cache. Run `az login`. + +C:\dev>fix +C:\dev>az login +... +``` + ## Requirements - Windows only (sorry!) - Dotnet 5.0 installed