Skip to content

Support array spread in exec #354

@dovahcrow

Description

@dovahcrow

Feature Description

This is similar to #133 but came from cargo-make and is for array:
When using cargo-make, additional parameters are stored in ${@}, like other runners.
However, in duckscript, ${@} is an array, making it impossible to pass to exec.

Describe The Solution You'd Like

Maybe add a new syntax to spread the array?

Code Sample

/// paste code here
exec cargo run --release -- ${@}

Or any new syntax makes the above work.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions