PowerShell / platyPS

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

New-MarkdownHelp vs New-MarkdownCommandHelp does not allow version prefix #714

Open Gijsreyn opened 3 weeks ago

Gijsreyn commented 3 weeks ago

Summary of the new feature / enhancement

In my attempt to migrate the build tasks from Sampler to the new Microsoft.PowerShell.PlatyPS module, I hit a barrier.

Compared to it's earlier brother, the New-MarkdownHelp command allowed the HelpVersion parameter to be a string. The new New-MarkdownCommandHelp limits this to a version.

Sampler uses the -preview0001 as revision number. It is possible to convert it, but I was wondering why this was changed.

Proposed technical implementation details (optional)

No response