community-scripts icon indicating copy to clipboard operation
community-scripts copied to clipboard

Discussion: Templates Directory

Open cdp1337 opened this issue 1 year ago • 1 comments

When looking at researching the current powershell template, it took me a bit to locate it, as it is currently buried within all the staging scripts.

Proposal:

Move that script, (and in the near future other language scripts), into a new top-level directory templates/ (or some variation thereof).

If folks think this is a good idea and approve this, feel free to assign me and I'll do it real quick and publish a merge request.

cdp1337 avatar Aug 15 '24 04:08 cdp1337

When looking at researching the current powershell template, it took me a bit to locate it, as it is currently buried within all the staging scripts.

So far it's just me and niceguy that has put anything in there and it's a real WIP/trying to develop a best-practices template (make standard stuff be functions to copy/paste into new scripts to solve standard problems). It's as much a script snippet library as anything else.

I put it out there where it is because I haven't decided if it'll ever be put in official /scripts folder and installed on all TRMM's...or should it just be moved to the docs where there's recommended comment headers etc for official scripts. Definitely open to moving it around...and looking for suggestions/improvements.

Best practices/consistency is the end goal for a good reliable and predictable community script library you can count on.

silversword411 avatar Sep 05 '24 03:09 silversword411