Skip to content

Request to implement new $env meta prefix #82

@XSven

Description

@XSven

I have no idea how to refer to environment variables (%ENV) in the args of a service configuration. It would help to have a new meta prefix $env:

args:
  user:
    $env: USER

should assign $ENV{USER} to the named argument user. I would suggest that $env refers to a cached (immutable) copy of %ENV. If you know a CPAN module that wraps %ENV and can be configured as a service to achieve the same please let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions