Search code examples
azureazure-devopsazure-cli

Is there a way to test AZ Cli scripts


While developing AZ CLI scripts I wonder if there is a way to test or somehow get a preview of the different configurations to be applied by the script before they are actually applied to the infrastructure.


Solution

  • You can validate only the deployment template not any CLI commands. However , you can leverage Az Next is the first CLI recommender to provide contextual command recommendations based on the analysis of user behavior and session context