XliffSync.psm1
[cmdletbinding()] param() # Load Model (e.g., classes) $modelList = @( 'XlfDocument' ) foreach ($model in $modelList) { . "$PSScriptRoot\Model\$model.ps1" } # Load Functions foreach ($folder in @('Public')) { $rootPath = Join-Path -Path $PSScriptRoot -ChildPath $folder if (Test-Path -Path $rootPath) { $files = Get-ChildItem -Path $rootPath -Filter *.ps1 -Recurse # dot source each file $files | Where-Object { $_.name -NotLike '*.Tests.ps1' } | ForEach-Object { Write-Verbose $_.BaseName; . $_.FullName } } } # Export Public Functions . (Join-Path $PSScriptRoot "Public\bc\Test-BcAppXliffTranslations.ps1") . (Join-Path $PSScriptRoot "Public\Get-XliffTranslationsDiff.ps1") . (Join-Path $PSScriptRoot "Public\Set-XliffTranslations.ps1") . (Join-Path $PSScriptRoot "Public\Sync-XliffTranslations.ps1") . (Join-Path $PSScriptRoot "Public\Test-XliffTranslations.ps1") |