Azure / azure-cli

Azure Command-Line Interface
MIT License
3.97k stars 2.95k forks source link

Add az interactive mode support for extensions #12182

Open aleksey-korolev opened 4 years ago

aleksey-korolev commented 4 years ago

az interactive is very helpful providing command and parameters suggestions for commands included in cli. As I understand this doesn't work for commands added by extensions. For example I've added azure-cli-iot-ext to use command monitor-events: az extension add --name azure-cli-iot-ext az iot hub monitor-events --hub-name myiothub

New command became available for invocation but az interactive mode doesn't show suggestions for this new command and its parameters. See attached screenshot: image

arrownj commented 4 years ago

Hi @jiasli , could you please help take a look at it?

yonzhan commented 4 years ago

add to S166.