class AzureInfo::Base

Public Instance Methods

check_az_installed!() click to toggle source
# File lib/azure_info/base.rb, line 3
def check_az_installed!
  installed = system("type az > /dev/null 2>&1")
  return if installed
  raise Error.new("ERROR: az is not installed. Please install the az command.")
end