An open API service indexing awesome lists of open source software.

https://github.com/cjmarkham/env_prune

Find out which ENV variables can be removed from your .env file
https://github.com/cjmarkham/env_prune

env environment-variables ruby

Last synced: over 1 year ago
JSON representation

Find out which ENV variables can be removed from your .env file

Awesome Lists containing this project

README

          

# ENV Prune
Find out which ENV variables can be removed from your .env file

**Warning** The ENV variables listed are just ones that are unused in your code. Some ENV variables could be used by other third party applications such as Rails gems. Always make sure they aren't used by another application before removing.

# Usage
`ruby env_prune.rb`

# Arguments

#### -d Comma seperated list of directories to search
`-d=app,config`

#### -f Comma seperated list of file extensions to search
`-f=rb,html`

#### -e The name of the env file
`-e=.env`