You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
currently updating all the script base information from GIT is a annoying due to how the api works for uploading code
Describe the solution you'd like
a way to overwrite by default any value from the scripts settings by flaging them in the code directly
when the value for exemple "Name: XXX" is set in the script trmm would take this value for the script name by default and ignore any changes made on the UI.
the exemple block could be added in any language in comment block as ps,py,nu,sh,bat all can have either comment block or goto skip
this would also be usefull if one day people start sharing their own repo
Describe alternatives you've considered
niet
Additional context
I have also added a draft for a new way of handeling community scripts submission that would help automate/speedup/standardize code review but this is not required for this request
<#
===================== TRMM Scripts Marker =====================
Name: Test Script
Description: Random stuff just for testing
Platforms:
Windows
Category: Utility
Arguments:
-Flag1
-Flag2 Value
Environment Variables:
EnvVar1=test1
EnvVar2=test
Timeout: 90
Run as user: 0
Syntax: `.\CheckEnvAndFlags.ps1 -Flag1 -Flag2`
===================== Community script review =====================
State of Dev:
Production ready
Documentation needed
Testing needed
Draft
wtf is even this code?
their is no way that this piece of shit was not puked out by a drunk llm
we don't read brainfuck
Prod Ready: Yes
Documentation Clean and script understandable: Yes
Security Scanned: Yes
Model for Synopsis followed: Yes
Tested on Platform:
Windows PowerShell 5.1 on Windows 10 (64-bit)
PowerShell 7.3.6 on Ubuntu 22.04 LTS
===================== End TRMM Scripts Marker =====================
#>
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
currently updating all the script base information from GIT is a annoying due to how the api works for uploading code
Describe the solution you'd like
a way to overwrite by default any value from the scripts settings by flaging them in the code directly
when the value for exemple "Name: XXX" is set in the script trmm would take this value for the script name by default and ignore any changes made on the UI.
the exemple block could be added in any language in comment block as ps,py,nu,sh,bat all can have either comment block or goto skip
this would also be usefull if one day people start sharing their own repo
Describe alternatives you've considered
niet
Additional context
I have also added a draft for a new way of handeling community scripts submission that would help automate/speedup/standardize code review but this is not required for this request
The text was updated successfully, but these errors were encountered: