Skip to content

Commit bb39e50

Browse files
author
James Brundage
committed
feat: Namespace.get_Command ( Fixes #1146 )
1 parent 10f25f3 commit bb39e50

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Types/Namespace/get_Command.ps1

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<#
2+
.SYNOPSIS
3+
Gets the commands in the namespace.
4+
.DESCRIPTION
5+
Gets all the commands in the namespace.
6+
7+
That is, all aliases, cmdlets, and functions.
8+
#>
9+
if (-not $this.Pattern) { return }
10+
11+
@(
12+
$this.Alias
13+
$this.Cmdlet
14+
$this.Function
15+
) -ne $null

0 commit comments

Comments
 (0)