Context
The Document-PSModule action generates documentation for PowerShell commands, including an ALIASES section. Currently, this section contains a placeholder template: This cmdlet has the following aliases, {{Insert list of aliases}}.
Request
The ALIASES section in generated documentation should be populated dynamically based on whether the command actually has aliases defined.
What is expected
- If the command has aliases, the section should list them:
## ALIASES
This cmdlet has the following aliases:
- New-CommandAlias
- Some-OtherAlias
- If the command has no aliases, the section should state so:
## ALIASES
There are no aliases for this command.
Acceptance criteria
- The
ALIASES section is populated correctly based on actual alias data
- Commands with aliases show a bullet list of alias names
- Commands without aliases display "There are no aliases for this command."
- No placeholder template text remains in generated documentation
Technical decisions
To be determined during implementation planning — identify where alias data is available during documentation generation.
Implementation plan
Context
The Document-PSModule action generates documentation for PowerShell commands, including an
ALIASESsection. Currently, this section contains a placeholder template:This cmdlet has the following aliases, {{Insert list of aliases}}.Request
The
ALIASESsection in generated documentation should be populated dynamically based on whether the command actually has aliases defined.What is expected
## ALIASES There are no aliases for this command.Acceptance criteria
ALIASESsection is populated correctly based on actual alias dataTechnical decisions
To be determined during implementation planning — identify where alias data is available during documentation generation.
Implementation plan
ALIASESsection is generated in Document-PSModule