amidaware / community-scripts

A curated list of powershell, python, and batch scripts for use in TacticalRMM or anywhere!
MIT License
115 stars 80 forks source link

Discussion: Templates Directory #246

Open cdp1337 opened 1 month ago

cdp1337 commented 1 month ago

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.

silversword411 commented 2 weeks ago

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.