-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ${@} in Duckscript tasks #667
Comments
good idea. I'll check it out. should be simple. as for the array question, use %{array} instead of ${array} |
for the array, just to be clear you first need to join to a string using space char and than do that which will split it to args via spaces. |
^ this seems to work. |
@MartinKavik this is now released. if there are issues feel free to reopen. thanks for the idea. |
Feature Description
Support ${@} in Duckscript tasks
Describe The Solution You'd Like
It would be nice to use
${@}
in tasks written in Duckscript to pass an array of task arguments.Code Sample
My current ugly task definition:
The future refactored code with
#{@}
:Related question:
Can we somehow use an array as arguments? E.g.
exec --fail-on-error makers --cwd ${example_root} ..${arr}
Thank you.
The text was updated successfully, but these errors were encountered: