Skip to content

Commit 2c9bcbc

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

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

HelpOut-Help.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2043,6 +2043,24 @@ If not provided, all types of commands from the module will be saved as a markdo
20432043
<dev:defaultValue>
20442044
</dev:defaultValue>
20452045
</command:parameter>
2046+
<command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false">
2047+
<maml:name>FormatAttribute</maml:name>
2048+
<maml:description>
2049+
<maml:para>The formatting used for unknown attributes.
2050+
Any key or property in this object will be treated as a potential typename
2051+
Any value will be the desired formatting.
2052+
If the value is a [ScriptBlock], the [ScriptBlock] will be run.
2053+
If the value is a [string], it will be expanded
2054+
In either context, `$_` will be the current attribute.</maml:para>
2055+
</maml:description>
2056+
<command:parameterValue required="false" variableLength="true">Psobject</command:parameterValue>
2057+
<dev:type>
2058+
<maml:name>Psobject</maml:name>
2059+
<maml:uri />
2060+
</dev:type>
2061+
<dev:defaultValue>
2062+
</dev:defaultValue>
2063+
</command:parameter>
20462064
</command:syntaxItem>
20472065
</command:syntax>
20482066
<command:parameters>
@@ -2088,6 +2106,24 @@ Topic files that match this pattern will not be included.</maml:para>
20882106
<dev:defaultValue>
20892107
</dev:defaultValue>
20902108
</command:parameter>
2109+
<command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false">
2110+
<maml:name>FormatAttribute</maml:name>
2111+
<maml:description>
2112+
<maml:para>The formatting used for unknown attributes.
2113+
Any key or property in this object will be treated as a potential typename
2114+
Any value will be the desired formatting.
2115+
If the value is a [ScriptBlock], the [ScriptBlock] will be run.
2116+
If the value is a [string], it will be expanded
2117+
In either context, `$_` will be the current attribute.</maml:para>
2118+
</maml:description>
2119+
<command:parameterValue required="false" variableLength="true">Psobject</command:parameterValue>
2120+
<dev:type>
2121+
<maml:name>Psobject</maml:name>
2122+
<maml:uri />
2123+
</dev:type>
2124+
<dev:defaultValue>
2125+
</dev:defaultValue>
2126+
</command:parameter>
20912127
<command:parameter required="false" position="named" pipelineInput="False" aliases="" variableLength="true" globbing="false">
20922128
<maml:name>IncludeExtension</maml:name>
20932129
<maml:description>

0 commit comments

Comments
 (0)