Dotenv section switcher
Go to file
Dmitriy Pleshevskiy 7d09eb39b6
.
2022-07-29 16:42:05 +03:00
src . 2022-07-29 16:42:05 +03:00
.env.example . 2022-07-29 16:42:05 +03:00
.gitignore . 2022-07-29 16:42:05 +03:00
COPYING . 2022-07-29 16:42:05 +03:00
Cargo.lock . 2022-07-29 16:42:05 +03:00
Cargo.toml . 2022-07-29 16:42:05 +03:00
README.md . 2022-07-29 16:42:05 +03:00

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

cp .env.example .env
vnetod local    # choose local state
vnetod staging  # choose staging state
vnetod -        # disable all states

License

GNU General Public License v3.0 or later

See COPYING to see the full text.