Pass ad-hoc parameters to package scripts

Description

Allow positional and named params to be available in package scripts. And by proxy, they will be available in native shell executions since we also pass CommandBox's env vars down to the operating system's command interpreter.

1 2 3 4 5 6 > package set scripts.foo="echo Hi \${1}" > run-script foo Brad Running package script [foo]. Hi

and...

1 2 3 4 5 6 > package set scripts.foo="echo Hi \${person}" > run-script scriptname=foo person=Brad Running package script [foo]. Hi

Status

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Fix versions

Priority

Major