env-manager

Crates.ioenv-manager
lib.rsenv-manager
version0.0.1
sourcesrc
created_at2023-09-29 11:05:17.055521
updated_at2023-09-29 11:05:17.055521
descriptionManage env files with ease
homepagehttps://github.com/rawnly/env-manager
repositoryhttps://github.com/rawnly/env-manager
max_upload_size
id987201
size21,633
Federico (rawnly)

documentation

README

env-manager

Manage dotenv files via cli

Usage

Usage: dotenv [OPTIONS] <COMMAND>

Commands:
  list        Print all .env variables
  list-files  List all env files
  set         Set environment
  get         Get environment
  help        Print this message or the help of the given subcommand(s)

Options:
  -s, --stage <STAGE>  Set stage
  -h, --help           Print help
  -V, --version        Print version

Example

http POST https://my-service-auth.com/auth/sign-in username=root password=toor \
    | jq -r .accessToken \
    | xargs dotenv set ACCESS_TOKEN

Set the response accessToken to the .env file

Commit count: 14

cargo fmt