Generates env variable scripts for Bash and PowerShell
Project description
Genevieve
GENerate EnVIronmEnt Variables Everywhere.
This is an extremely simple utility that produces:
env.ps1
PowerShell scriptenv.env
Bourne Shell script
The input is a yaml
file in the form of:
variables:
SOME_KEY: 'some_value'
In POSIX shells the generated env.env
can be used via: source env.env
to set the environment variables set in the YAML file.
In PowerShell the env.ps1
script should be run directly: ./env.ps1
.
Troubleshooting
Script execution permissions
PowerShell
Adjust your ExecutionPolicy
.
Bourne shell
Run chmod +x env.env
.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file genevieve-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: genevieve-1.0.3-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a638dc95a56acf7e0a583e24f070a95b1b3368fe8389ee4b22a97f5b7ee9ec43 |
|
MD5 | 935ba04fe1904d8bce624e4490ac20f2 |
|
BLAKE2b-256 | d8c3e34e654202f02dd37a7667bf6ec9445df76729132a55b3f2b69114aac41a |