Skip to content

Enhancement, transform the output to several single flag expressions, in one line #7

Description

@leobm

Something that sometimes can also be useful.
You may have seen in the Makefile "demo-convert" that I transform the output again. So that one has e.g. the following format -e [ENV_NAME1]=[ENV_VALUE1] -e [ENV_NAME2]=[ENV_VALUE2].....

Various tools can also be passed environment variables as individual flags. E.g. also docker run:
https://docs.docker.com/engine/reference/commandline/run/#set-environment-variables--e---env---env-file

Once you can pass a .env file directly or you can pass each environment variable using the -e flag.
What would be cool, if I could create this output already directly via a switch with your envrun tool. E.g. a flag --flag-ouput-name or so.
But maybe that's already too much for a simple tool, it was just an idea that came to me today. Just forget it if you don't think it makes sense.

Best,
Felix

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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