PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
782 stars 155 forks source link

Standardize parameter names #679

Closed sdwheeler closed 2 months ago

sdwheeler commented 3 months ago

Summary of the new feature / enhancement

Standardize parameter names to avoid type confusion

Cmdlet                     Parameter      Type
------                     ---------      ----
Export-MamlCommandHelp     Command        Microsoft.PowerShell.PlatyPS.Model.CommandHelp[]
Export-MarkdownCommandHelp Command        Microsoft.PowerShell.PlatyPS.Model.CommandHelp[]
Export-YamlCommandHelp     Command        Microsoft.PowerShell.PlatyPS.Model.CommandHelp[]
New-CommandHelp            CommandInfo    System.Management.Automation.CommandInfo[]
New-MarkdownCommandHelp    Command        System.Management.Automation.CommandInfo[]
New-MarkdownModuleFile     CommandHelp    Microsoft.PowerShell.PlatyPS.Model.CommandHelp[]
Update-MarkdownModuleFile  CommandHelp    Microsoft.PowerShell.PlatyPS.Model.CommandHelp[]
Export-MarkdownModuleFile  ModuleFileInfo Microsoft.PowerShell.PlatyPS.ModuleFileInfo[]
Export-YamlModuleFile      ModuleFile     Microsoft.PowerShell.PlatyPS.ModuleFileInfo[]
New-MarkdownCommandHelp    Module         System.Management.Automation.PSModuleInfo[]
Update-MarkdownModuleFile  ModuleFile     Microsoft.PowerShell.PlatyPS.ModuleFileInfo

Proposed technical implementation details (optional)

No response

sdwheeler commented 2 months ago

Fixed in OPS10