"az互动式" Azure Cloud Shell bash模式和Windows命令行(包括sfctl)的功能 [英] "az interactive" capabilities for Azure Cloud Shell bash mode, and for Windows command line (including sfctl)

查看:77
本文介绍了"az互动式" Azure Cloud Shell bash模式和Windows命令行(包括sfctl)的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I just discovered "az interactive" in the PowerShell mode of Azure Cloud Shell. It's great, providing Intellisense essentially, and allowing for a quick, interactive exploration of the full API surface of Azure CLI. My learning of Azure CLI has been boosted by this tool and it's a lot less time-consuming to explore, know which parameters are required and which optional, etc., seeing help and feedback appear instantly as I type.
https://docs.microsoft.com/en-us/cli/azure/interactive-azure-cli?view=azure-cli-latest

有没有办法将此功能扩展到bash shell和Windows命令行?不仅可以与az命令一起使用,而且还可以与sfctl和其他任何命令一起使用. shell是否可以实现一个接口以根据上下文提供信息 到目前为止输入的内容是什么,每次更改都会触发对它的调用?

Is there a way to extend this capability to the bash shell and to Windows command line? Would be great to use it not just with az commands, but also sfctl and any others. Is there an interface a shell could implement to provide information based on the context of what's been typed so far, with each change triggering a call to it?

推荐答案

此功能(az交互)已在Windows命令行中使用了一段时间(作为Azure CLI 2.0的一部分)

This functionality (az interactive) has been available in Windows command line for a while (as part of Azure CLI 2.0)

https://azure.microsoft.com/en-us/博客/welcome-to-azure-cli-shell/

hth
Marcin

hth
Marcin


这篇关于"az互动式" Azure Cloud Shell bash模式和Windows命令行(包括sfctl)的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆