New-MarkdownHelp provides unclear error when module as no commands #615
Labels
Issue-Enhancement
Issue is more of a feature request than a bug
Needs-Triage
The issue is new and needs to be triaged by a work group.
platyps-0.14.2
Milestone
Summary of the new feature / enhancement
If a module does not export any commands then
New-MarkdownHelp
throws$LocalizedData.ModuleNotFound
.A clearer error could be thrown.
Proposed technical implementation details (optional)
Reference to
platyPS.psm1
line 277.GetCommands
will return a measurable object.The text was updated successfully, but these errors were encountered: