Skip to main content

azure_cli_version

Function azure_cli_version 

Source
pub fn azure_cli_version(json: &str) -> Option<String>
Expand description

The Azure CLI’s version, the azure-cli entry of the JSON az version --output json prints; none when the answer isn’t that JSON or the entry isn’t text. A --query would need quotes, which can’t pass through cmd.exe (az is a .cmd).