root.ps1

if ( $null -ne $(get-module |Where-Object {$_.Name -eq "PSTS"})) {
    Remove-Module 'PSTS' -Force
}

$ScriptRoot = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition
Set-Location -Path $ScriptRoot -PassThru

#Invoke-SCriptAnalyzer -Path ./ -Recurse
#exit


import-module '.\PSTS.psd1' -Verbose -force

Add-PSTSAccount -account tgits-code  -endpoint "dev.azure.com"

#Get-PSTSProject | Clip

#Apply-PSTSFromYaml -inFile "./yaml-template/full-<to be choosen>.yaml" -Verbose

#Apply-PSTSFromYaml -inFile "./yaml-template/full_assie.yaml" -Verbose
#Apply-PSTSFromYaml -inFile "./yaml-template/appservice-deploymement.yaml" -Verbose

#Update-PSTSSecureFiles -project "Project" -path "<Path>\secureFilesConfigMap.json"