Skip to content

Commit

Permalink
Merge pull request #3 from four43/patch-1
Browse files Browse the repository at this point in the history
Added plaintext/linux utility example
  • Loading branch information
gmr authored Jul 16, 2018
2 parents 8ab10f0 + 46d2cf9 commit 748d69d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ multiple times:
env-aws-params --prefix /common /bin/bash -c set
```

To get a plaintext output of your environment variables to use with other utilities, we can use `printenv`:
```bash
env-aws-params --silent --prefix /service-prefix /usr/bin/printenv > ~/some-file.sh
```
Which will write your environment variables in plain text, for example:
```bash
# ~/some-file.sh Contents:
ENV_VAR1=example
ENV_VAR2=test-value
```

## CLI Options

```
Expand Down

0 comments on commit 748d69d

Please sign in to comment.