mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	azure-cli: Set AzureCLIPath environment variable (#1469)
As identified in, e.g., [the Azure Go SDK][1] and [other Azure SDKs][2],
the Azure CLI program can be resolved using an environment variable
called AzureCLIPath or AZURE_CLI_PATH if the program is not installed to
the default locations. Setting this environment variable allows programs
such as Pulumi which (ultimately) build on the Azure SDKs to resolve the
CLI program when it has been installed with Scoop.
  [1]: afe17657e2/autorest/azure/cli/token.go (L151)
  [2]: https://github.com/search?q=org%3AAzure+AzureCLIPath&type=code
			
			
This commit is contained in:
		
							parent
							
								
									1390727a1c
								
							
						
					
					
						commit
						029cb6b6ee
					
				@ -13,5 +13,9 @@
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
    "autoupdate": {
 | 
					    "autoupdate": {
 | 
				
			||||||
        "url": "https://azurecliprod.azureedge.net/msi/azure-cli-$version.msi"
 | 
					        "url": "https://azurecliprod.azureedge.net/msi/azure-cli-$version.msi"
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    "env_set": {
 | 
				
			||||||
 | 
					        "AzureCLIPath": "$dir",
 | 
				
			||||||
 | 
					        "AZURE_CLI_PATH": "$dir"
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user