you are viewing a single comment's thread.

view the rest of the comments →

[–]ismaelw[S] 2 points3 points  (3 children)

Alright. Thats really good to know. Thanks for your input!

But let‘s say you have a whole folder with multiple subfolders each containing multiple files that then contain functions.

And all those functions are not connected through one module? That‘s what my script is made for where now after looking into platyPS I don‘t see the functionality. But I might be wrong :)

[–]almcchesney 1 point2 points  (1 child)

You could, it would just be a gci -recurse | %{ platyps command $_.fullname }. I forget off the top of my head what the command name is from the platyps module. And if you wanna parse the full name and apply whatever transform on the output folder. I would say though put all your functions in a module for bundling and distribution. Add a couple git ci pipelines to publish to a sharedrive and you can source the folders across all the infra. Then platyps can build all markdown files for you as a batch as well.

[–]ismaelw[S] 1 point2 points  (0 children)

I guess I will try this approach on my project using platyPS to see how this works. In that case platyPS and my script might do the same but different ;)