Apps/Get-JetBrainsHub.ps1

function Get-JetBrainsHub {
    <#
        .SYNOPSIS
            Get the current version and download URLs for each edition of PhpStorm.
    #>

    [OutputType([System.Management.Automation.PSObject])]
    [CmdletBinding(SupportsShouldProcess = $False)]
    param (
        [Parameter(Mandatory = $False, Position = 0)]
        [ValidateNotNull()]
        [System.Management.Automation.PSObject]
        $res = (Get-FunctionResource -AppName ("$($MyInvocation.MyCommand)".Split("-"))[1])
    )

    $Output = Get-JetBrainsApp -res $res
    Write-Output -InputObject $Output
}