PSFunctionExplorer icon indicating copy to clipboard operation
PSFunctionExplorer copied to clipboard

add features

Open LxLeChat opened this issue 6 years ago • 4 comments

-add some logic to findout if a comment help is present, maybe display it like get-help ... -add some logic to allow to add a comment generic comment help. with maybe a description parameter ... or maybe with dynamic parameters based on the function parameter we want to comment -~~add the possibility to extract all functions in a separate ps1 file (a reverse build sort of ... )~~ done in https://github.com/LxLeChat/PSFunctionExplorer/commit/c7d2b44deb808e31fef8803ef7250cfd22e87b5c

LxLeChat avatar Apr 28 '19 19:04 LxLeChat

-add a function to explore a simple script and outputs all it's internal commands and types .. basic stuff ! -maybe add the possibility to explore a scriptblock too...

LxLeChat avatar May 03 '19 22:05 LxLeChat

Any change this could get released? I'm using azure functions. And I would love to graph them using your module. But azure functions always run a single run.ps1 file. From there I call several ps1 files which incorporate quite some script blocks. And I use a few modules in the process.

So what you're mentioning would exactly fit my purpose.

X1pheR avatar Dec 21 '21 19:12 X1pheR

hi @X1pheR i'm not currently working on the module.

i made this module too : https://github.com/LxLeChat/FlowChartCore It can graph scriptblocks. (it's mainly inteded to scripts, but you can pass scriptblocks too ) (the module is not published but i can publish it if needed )

the thing with "sub" scriptblocks is that they are quite difficult to represent on a graph ... not found any beautiful way to do it :( i dont know how to explain it cleary ... but i've tried psfunctionexplorer and flowchartcore on some big code base, and sometimes the graph are.. how to put it ... you can't see shit ! :)

but if you have ideas and want to contribute, no problemo ! you are welcom

LxLeChat avatar Dec 21 '21 20:12 LxLeChat

Thank you for the quick answer! I'll look into it and will come with suggestions if any 😇

X1pheR avatar Dec 21 '21 23:12 X1pheR