From f49ff9dfd0cdc049ec7450b7c31bbf880746d99d Mon Sep 17 00:00:00 2001 From: "Dotan J. Nahum" Date: Tue, 8 Jun 2021 12:12:25 +0300 Subject: [PATCH] Update README.md --- README.md | 58 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 90b9ee30..4d0c6b27 100644 --- a/README.md +++ b/README.md @@ -152,33 +152,6 @@ Use this one liner from now on: $ docker run --rm -it --env-file <(teller env) alpine sh ``` -## :whale: Export in YAML format -You can export in a YAML format, suitable for [GCloud](https://cloud.google.com/functions/docs/env-var): - -``` -$ teller yaml -``` - -Example format: - -```yaml -FOO: "1" -KEY: VALUE -``` -## :whale: Export in JSON format -You can export in a JSON format, suitable for piping through `jq` or other workflows: - -``` -$ teller json -``` - -Example format: - -```json -{ - "FOO": "1" -} -``` ## :warning: Scan for secrets @@ -423,6 +396,37 @@ And now you can use paths like `/{{stage}}/{{region}}/billing-svc` where ever yo If you prefix a value with `env:` it will get pulled from your current environment. + + +## `YAML` Export in YAML format +You can export in a YAML format, suitable for [GCloud](https://cloud.google.com/functions/docs/env-var): + +``` +$ teller yaml +``` + +Example format: + +```yaml +FOO: "1" +KEY: VALUE +``` +## `JSON` Export in JSON format +You can export in a JSON format, suitable for piping through `jq` or other workflows: + +``` +$ teller json +``` + +Example format: + +```json +{ + "FOO": "1" +} +``` + + # Providers