Closed o-l-a-v closed 3 years ago
@o-l-a-v Thank you for the feedback. This make sense!
I've already removed chocolatey installation of 'Graphviz' and marked it as a pre-req for this module to work in latest version. Which have to be installed explicitly.
I'll move the module installation to a function and call it when commands are running. TBD
This has been fixed in recent commit to this repository.
Please don't install dependencies when importing the module. This means that, even if you only installed the module to look at what commands
Get-Command -Module 'AzViz'
and paramtersGet-Help -Name '<some-function>- -Parameter '*'
, AzViz will prompt to install Chocolatey and GraphViz.Please move this to a function that other functions can use and trigger.