Compares expected environment variables to those set in production.
Project description
Unix: Windows: Metrics: Usage:
Overview
Compares expected environment variables to those set in production.
Setup
Requirements
Python 3.6+
Installation
Install env-diff with pip:
$ pip install env-diff
or directly from the source code:
$ git clone https://github.com/jacebrowning/env-diff.git
$ cd env-diff
$ python setup.py install
Usage
Generate a sample config file:
$ env-diff --init
Customize this file to match your project:
sourcefiles: contain references to environment variables used in your project
path: relative path to source file
environments: the environments in which your project runs
name: name of the environment
command: command to display currently set environment variables
Display the differences between environment variables in your environments:
$ env-diff > env-diff.md
Open the generated Markdown table in an appropriate viewer.
Revision History
0.1 (2017-03-30)
Initial alpha release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.