From d46da89a47aa42eb877892b600e164bc24a102d0 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Mon, 1 Aug 2022 00:03:07 +0300 Subject: [PATCH] doc: add many rules to readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4816ee2..282ed94 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ 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 name can contain multiple comma-separated sections (Ex. + `### local,staging`) +- Each section may specify a namespace (Ex. `### debug:on,dev:on`). If a section + doesn't contain a namespace, it's a global namespace. - State ends if line is empty or contains a new state name. You can see the [full example].