Takes a string, array of strings, a .NET DirectoryInfo object, array of DirectoryInfo objects, a mixed array of strings/DirectoryInfo objects, or an array of arrays of the above as input. I'm now working on the reverse functionality (POSIX -> Win).
What in the everliving fuck is wrong with me?
Takes a string, array of strings, a .NET DirectoryInfo object, array of DirectoryInfo objects, a mixed array of strings/DirectoryInfo objects, or an array of arrays of the above as input. I'm now working on the reverse functionality (POSIX -> Win).
What in the everliving fuck is wrong with me?
1. Is 300+ lines long
2. Has two mutually-exclusive parameter sets
3. A truth table
4. A nested function that recursively calls itself to parse arrays (with a stopwatch in case of infinite recursion)
5. A return object with its own attached functions
6. Auto output copy-to-clipboard by switch
1. Is 300+ lines long
2. Has two mutually-exclusive parameter sets
3. A truth table
4. A nested function that recursively calls itself to parse arrays (with a stopwatch in case of infinite recursion)
5. A return object with its own attached functions
6. Auto output copy-to-clipboard by switch
This is an easy problem. It can be accomplished in just one or two lines of PowerShell if you don't care about errors or accuracy.
It's now two days later, and this function now is/has:
This is an easy problem. It can be accomplished in just one or two lines of PowerShell if you don't care about errors or accuracy.
It's now two days later, and this function now is/has:
I'll give it suspicious side-eye until the day I decommission it.
I'll give it suspicious side-eye until the day I decommission it.
Refuse to elaborate.
Refuse to elaborate.
🥞
🥞
I'm a big fan of making the config files for work scripts in JSON just because of the good integration in Python & PowerShell.
Gonna have to keep that in mind in the future.
I'm a big fan of making the config files for work scripts in JSON just because of the good integration in Python & PowerShell.
Gonna have to keep that in mind in the future.