Add flag to prune script call from "Job Log"
Preface
I am reading a lot of stuff regarding collapsible sections and how to have a prettier job log. I've already added the feature flag FF_SCRIPT_SECTIONS which helps a lot by creating sections for each line of code inside the script block and having elapsed time measured. On the other hand echoing section code by hand to trick output into the runner - which then hides echoed response by a special char is only one half of a clean job log.
Assessment
It seems the most needed feature for the job log is the ability to execute scripts at runtime but hide the executed script from the job log. Not the output but the call. I understand that the runner needs to create the script before runtime but there should be a way to tell the runner that the call to the script line should be pruned from the job log after execution.
Goal
For scripts a hide command flag would be handy if they used to format the job log. If all the echoes in the pipeline script would only print to the runner and calls were hidden in the logs many people finally have all tools at hand to get to a pretty job log.
Proposal
Maybe ~ could be used to flag script lines that force the runner to execute the script but not write the command to the log.
script: ~ echo -e "ABC"
Best regards Jan