Examples/01-Import-And-List-Commands.ps1
|
[CmdletBinding()] param([string]$ProjectRoot = (Split-Path -Parent $PSScriptRoot)) Set-StrictMode -Version Latest $ErrorActionPreference = 'Stop' Set-Location -LiteralPath $ProjectRoot Remove-Module GitEasy -Force -ErrorAction SilentlyContinue Import-Module (Join-Path $ProjectRoot 'GitEasy.psd1') -Force Get-Command -Module GitEasy | Sort-Object Name | Select-Object CommandType, Name, Version, Source | Format-Table -AutoSize |