-
How can I access an element of command: ft_tmpl: {
for S, C in _bots {
"render_\(S)": file.Create & {
config: "_bots.\(S)"
filename: "../user_data/ft_\(S).json"
contents: json.Indent(json.Marshal(config), "", " ")
}
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
prakashrj
Sep 22, 2023
Replies: 1 comment
-
Just realized that element I need is already in the for loop. command: ft_tmpl: {
for S, C in _bots {
"render_\(S)": file.Create & {
filename: "../user_data/ft_\(S).json"
contents: json.Indent(json.Marshal(C), "", " ")
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
prakashrj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just realized that element I need is already in the for loop.