8000 GitHub - lajp/env-exampler: Generates .env.example files from .env!
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

lajp/env-exampler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

env-exampler

env-exampler is a script that generates a .env.example file based on the current .env, removing the values.

Usage

Run ./exampler in the directory with your .env file.

Git hook

We recommend husky to generate the git hooks.

  1. npm install husky -D
  2. npm set-script prepare "husky install"
  3. npm run prepare
  4. npx husky add .husky/pre-commit "./exampler"
  5. git add .husky/pre-commit

About

Generates .env.example files from .env!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%
0