Private/Get-PolymarketProfile.ps1

function Get-PolymarketProfile {
  [CmdletBinding()]
  param (
    [Parameter(Mandatory = $true)]
    [string]$Address,

    [Parameter()]
    [ValidateSet('table', 'json')]
    [string]$Output = 'table'
  )

  process {
    $client = [GammaClient]::new()
    $result = $client.GetProfile($Address)
    [PolymarketOutput]::Format($result, $Output)
  }
}