Files
runner-images-sangeeth/images/win/scripts/Installers/Validate-GitHub-CLI.ps1
2020-06-02 20:07:12 +03:00

15 lines
344 B
PowerShell

################################################################################
## File: Validate-GitHub-CLI.ps1
## Desc: Validate GitHub CLI
################################################################################
if (Get-Command -Name 'gh')
{
Write-Host 'gh on path'
}
else
{
Write-Host 'gh is not on path'
exit 1
}