Skip to content

Commit

Permalink
feat: add initial README
Browse files Browse the repository at this point in the history
  • Loading branch information
smoyer64 committed Aug 29, 2022
0 parents commit 3e18a0e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
== envrcconfig

`envrcconfig` is a generator that's intended to be a companion to the
`envconfig` library in support of the `direnv` program. Since the `direnv`
library uses `.envrc` files by default, the project's name is a portmanto
of these two words.

=== Features

Tenet three of the states that applications should "Store config in the
environment". The `envconfig` library is a great way for Go applications
to build a configuration in the form of a "spec" struct. There are many
common ways to to actually build the environment for the applications -
this project generates sample files in support of those formats. The
following formats are supported:

- [ ] `.env` files (used by Docker Compose and others)
- [ ] `.envrc` files (used by `direnv`)
- [ ] Terraform HCL to configure AWS SSM
- [ ] Kubernetes manifests for `ConfigMap` and `Secret`

=== References

- https://github.com/kelseyhightower/envconfig
- https://pkg.go.dev/github.com/kelseyhightower/envconfig
- https://direnv.net/

0 comments on commit 3e18a0e

Please sign in to comment.