Private/Get-ClobServerTime.ps1
|
function Get-ClobServerTime { [CmdletBinding()] param ( [Parameter()] [ValidateSet('table', 'json')] [string]$Output = 'table' ) process { $client = [ClobClient]::new() $result = $client.GetServerTime() [PolymarketOutput]::Format($result, $Output) } } |