Dotenv section switcher
src | ||
test_data | ||
.env.example | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
COPYING | ||
README.md |
vnetod
Dotenv state switcher
You can create many states in your .env
and switch between them.
Rules:
- State name starts on a new line with
###
symbols (Ex.### local
) - State ends if line is empty or contains a new state name.
You can see the full example.
Usage
Basic usage
cp .env.example .env
vnetod local # enable local section
vnetod staging # enable staging section
vnetod local debug # enable local and debug sections
vnetod # disable all sections
Namespaces
vnetod db:local debug:on
License
GNU General Public License v3.0 or later
See COPYING to see the full text.