Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 817 Bytes

File metadata and controls

27 lines (17 loc) · 817 Bytes

Add-ModuleCommand

Generate a Markdown list of the commands in the module and optionally format as links.

Parameters

Parameter Set 1

  • [PSObject] HelpDoc A HelpDoc object. Mandatory, ValueFromPipeline
  • [Switch] AsLinks Format each list item as a link to a {commandname}.md.

Examples

Example 1

Generate a list of commands with links to the commands' help documents.

Get-HelpModuleData build-docs | New-HelpDoc | Add-ModuleCommand -AsLinks | select -exp Text
- [Add-HelpDocText](Add-HelpDocText.md) _Return a markdown formatted text._
- [Add-ModuleCommand](Add-ModuleCommand.md) _Generate a Markdown list of the commands in the module._
- [Add-ModuleProperty](Add-ModuleProperty.md) _Return a markdown formatted value for the given property._

Links