Skip to content

Commit efccd73

Browse files
author
James Brundage
committed
Adding Help to Help Transpiler
1 parent 891c644 commit efccd73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Transpilers/Help.psx.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,24 @@
2929
#>
3030
[CmdletBinding(DefaultParameterSetName='Parameter')]
3131
param(
32+
# The synopsis of the help topic
3233
[Parameter(Mandatory,Position=0)]
3334
[string]
3435
$Synopsis,
3536

37+
# The description of the help topic
3638
[string]
3739
$Description,
3840

41+
# One or more examples
3942
[string[]]
4043
$Example,
4144

45+
# One or more links
4246
[string[]]
4347
$Link,
4448

49+
# A ScriptBlock. If this is provided, the help will be added to this scriptblock.
4550
[Parameter(ValueFromPipeline,ParameterSetName='ScriptBlock')]
4651
[scriptblock]
4752
$ScriptBlock

0 commit comments

Comments
 (0)