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.

and...

Activity

Show:
Brad Wood
June 29, 2019, 3:20 AM

To make positional params work better, I REMOVED the directory parameter to the run-script command. This is a breaking change, but I’m fairly sure no one has ever used it. You will need to run the run-script command from the same directory as the box.json now.

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

Priority

Major
Configure