[GH-ISSUE #246] Discussion: Templates Directory #316

Open
opened 2026-03-14 01:14:50 +03:00 by kerem · 1 comment
Owner

Originally created by @cdp1337 on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/amidaware/community-scripts/issues/246

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.

Originally created by @cdp1337 on GitHub (Aug 15, 2024). Original GitHub issue: https://github.com/amidaware/community-scripts/issues/246 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.
Author
Owner

@silversword411 commented on GitHub (Sep 5, 2024):

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.

<!-- gh-comment-id:2330536364 --> @silversword411 commented on GitHub (Sep 5, 2024): > 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/community-scripts#316
No description provided.