cli¶
_get_parser¶
run¶
- edotenv.cli.run()[source]¶
Runs the
edotenv
command.Example
>>> edotenv --help
usage: ipykernel_launcher.py [-h] {encrypt,decrypt,clear} ... Manages encrypted .env files optional arguments: -h, --help show this help message and exit commands: {encrypt,decrypt,clear} encrypt encrypt a .env file decrypt decrypt an encrypted .env file clear clear encrypted .env or key file
Encrypt .env file:
>>> edotenv encrypt .env .env.encrypted
Decrypt .env file:
>>> edotenv decrypt .env .env.encrypted
Clear encrypted .env and key files:
>>> edotenv clear --edotenv_path .env