Skip to content

Commit 09900b5

Browse files
StartAutomatingStartAutomating
authored andcommitted
Save-MarkdownHelp - Adding -FormatAttribute (Fixes #150)
1 parent 2c9bcbc commit 09900b5

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

allcommands.ps1

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,16 @@ function Save-MarkdownHelp
15631563
[Parameter(ValueFromPipelineByPropertyName)]
15641564
[Alias('SkipCommandTypes','ExcludeCommandType','ExcludeCommandTypes')]
15651565
[Management.Automation.CommandTypes[]]
1566-
$SkipCommandType
1566+
$SkipCommandType,
1567+
1568+
# The formatting used for unknown attributes.
1569+
# Any key or property in this object will be treated as a potential typename
1570+
# Any value will be the desired formatting.
1571+
# If the value is a [ScriptBlock], the [ScriptBlock] will be run.
1572+
# If the value is a [string], it will be expanded
1573+
# In either context, `$_` will be the current attribute.
1574+
[PSObject]
1575+
$FormatAttribute
15671576
)
15681577

15691578
begin {

0 commit comments

Comments
 (0)