Misc/Get-RepoFromProduct.ps1

function Get-RepoFromProduct {
    Param(
        [Parameter(Mandatory = $true)]
        [string]$product
    )

    switch ($Product) {
        "Allocations" {
            "nav-x-allocations"
            break
        }
        "Base" {
            "nav-x-base-application"
            break
        }
        "CommissionManagement" {
            "nav-x-commission-management"
            break
        }
        "CreditCard" {
            "nav-x-credit-card"
            break
        }
        "CreditManagement" {
            "nav-x-credit-management"
            break
        }
        "NationalAccounts" {
            "nav-x-national-accounts"
            break
        }
        "PayAssist" {
            "nav-x-payassist"
            break
        }
        "Search" {
            "nav-x-search"
            break
        }
    }
}