if you need to manage attachments i have modified the MR to handle like that
b_attach=()
declare an array variable empty
append_attachments() {
local filepath="$1"
if [[ -n "$filepath" ]]; then
b_attach+=("$filepath")
fi
}
call this function everytime you need to append a new file path,
and then when you call the py pass like that --attachment_files "${b_attach[@]}"
, the py will manage (refering to my version).
I have made a better merge of those snipplet into the MR and give a copy to joe for a better review… hope we can achieve this soon!