Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
/ ddev-printenv Public archive
generated from ddev/ddev-addon-template

A ddev addon to print and obfuscate environment variables

License

Notifications You must be signed in to change notification settings

Lullabot/ddev-printenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tests project is maintained

What is ddev-printenv?

This command makes it easy to both retrieve and obfuscate environment variables for sharing and debugging.

$ ddev get lullabot/ddev-printenv
$ ddev printenv --help
Print environment variables, optionally obfuscating them to their last four characters. (shell host container command)

Usage:
  ddev printenv [-o|--obfuscate] [-s|--service] [variable name...] [flags]

Examples:
  "ddev printenv" or "ddev printenv DDEV_DOCROOT" or "ddev printenv -s web -o BLACKFIRE_SERVER_TOKEN"

Flags:
  -h, --help   help for printenv

Global Flags:
  -j, --json-output   If true, user-oriented output will be in JSON format.

For example, to view all Blackfire environment variables in a manner suitable for sharing:

$ ddev printenv --obfuscate | grep BLACKFIRE
BLACKFIRE_SERVER_TOKEN=e088
BLACKFIRE_SERVER_ID=235c

About

A ddev addon to print and obfuscate environment variables

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages