coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Feature Request: env -f to read from file


From: Balakrishnan Balasubramanian
Subject: Feature Request: env -f to read from file
Date: Thu, 28 Mar 2024 11:52:52 -0400
User-agent: Mozilla Thunderbird

When env command is used to pass extra environment variables to a program, it will be useful to read them from a file instead of command line.

Instead of

    env MYAPP_QA_KEY=XXXXX MYAPP_QA_URL=https://qa.myapp.example.com clicommand

We can use

    env -f qa.env clicommand

This way command-line can be kept simple and easy to change to different environments instead of sourcing files.

--
Regards,
Bala




reply via email to

[Prev in Thread] Current Thread [Next in Thread]