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.
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