platyPS icon indicating copy to clipboard operation
platyPS copied to clipboard

cmdlets renaming handled poorly

Open vors opened this issue 9 years ago • 3 comments

If you rename one of cmdlets, current behavior is to error out in Update-HelpMarkdown, because file now doesn't represent any cmdlet help.

We should find a better way to handle it.

vors avatar May 22 '16 23:05 vors

Same also applicable to parameters rename

vors avatar May 25 '16 05:05 vors

I think aliases will be a factor in command renames. #312.

I.e. Rename the command, add an alias, regenerate remapped docs using the new command name from command alias source.

BernieWhite avatar Mar 11 '18 20:03 BernieWhite

I like it.

vors avatar Mar 11 '18 23:03 vors

This is behavior is by design. If you rename a cmdlet, it is a new cmdlet. As author/owner of the content it is your responsibility to update appropriately.

The update workflow will be different in Microsoft.PowerShell.PlatyPS v1.

sdwheeler avatar May 31 '24 15:05 sdwheeler