Skip to content

Variables: Pass CLI params to JS file resolvers #4143

@awildturtok

Description

@awildturtok

This is a Feature Proposal

Description

The functionality to include and evaluate JavaScript files is pretty neat, though it seems to be kinda inflexible. My proposal would be to pass the options object that is already available into the handler, when evaluating the js file.

The only change necessary seems to be adding the options here.

It's obviously debatable wether this strays too far into the territory of plugins, but it would make my life right now a lot easier without any (for me) obvious drawbacks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions