azure-webpubsub icon indicating copy to clipboard operation
azure-webpubsub copied to clipboard

[BugBash][Cli] `az webpubsub hub` should indicate which argument is wrong.

Open JialinXin opened this issue 3 years ago • 1 comments

Describe the bug

When input invalid argument, it simply shows (BadArgument) Invalid arguments without more details. And is hard to find out which parameter has problem.

To Reproduce

az webpubsub hub create --hub-name "aaa" --name "jixin-teststd" --resource-group "jixin-bugbash" --allow-anonymous --event-handler url-template="http://localhost" user-event-pattern=* system-event=connect

JialinXin avatar Oct 29 '21 09:10 JialinXin

https://github.com/Azure/azure-cli-extensions/pull/4049

zackliu avatar Nov 01 '21 07:11 zackliu