Skip to content

Commit

Permalink
feat: Namespace.get_Command ( Fixes #1146 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage committed Jun 29, 2024
1 parent 10f25f3 commit bb39e50
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Types/Namespace/get_Command.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<#
.SYNOPSIS
Gets the commands in the namespace.
.DESCRIPTION
Gets all the commands in the namespace.
That is, all aliases, cmdlets, and functions.
#>
if (-not $this.Pattern) { return }

@(
$this.Alias
$this.Cmdlet
$this.Function
) -ne $null

0 comments on commit bb39e50

Please sign in to comment.