#env #manage #command #ease #cli #dotenv #env-file

app env-manager

Manage env files with ease

1 unstable release

0.0.1 Sep 29, 2023

#52 in #ease

22 downloads per month

MIT license

7KB
118 lines

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

Dependencies

~6–14MB
~141K SLoC