Install-ChocoBear.ps1

function Install-Chocobear() {
    [cmdletbinding()]
    Param(
        [string] $Path = $null,
        [string] $ToolsDirectory = $null,
        [switch] $Force = $false,
        [HashTable] $Feeds,
        [String] $ConfigPath = $null
    )

    if($Feeds -eq $null) {
        $Feeds = @{"choco-bear" = "https://www.myget.org/F/choco-bear/api/v2"}
    } else {
        if(!$Feeds.ContainsKey("choco-bear")) {
             $Feeds.Add("choco-bear", "https://www.myget.org/F/choco-bear/api/v2");
        }
    }

    Install-Chocolatey -Path $Path -ToolsDirectory $ToolsDirectory -Force:$Force -Feeds $Feeds -ConfigPath $ConfigPath
}