Hi everyone - is there a way to parameterize a she...
# prefect-community
c
Hi everyone - is there a way to parameterize a shell task?
g
not sure if this is a "dumb" way but I would just put the result of a
String Template
task as the command. https://docs.prefect.io/api/latest/tasks/strings.html
d
That’s an excellent solution!
🤩 1
c
Ah Thank you! 😞 that's kind of annoying to need to do that for every shell task though.. this works however!
g
Oh, I think you only need to instantiate the Task one time. After this you just call it with different template/args.
d
Sorry, @Charles Leung can you explain what you’re looking to accomplish in a little more detail?