Skip to content

Commit

Permalink
Release v0.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGamba committed Apr 4, 2020
1 parent 30b1fba commit 0e343e3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions changelog.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
= Changelog
:toc:

== v0.19.0: Feature update

As the releases before, this release has 100% test coverage.

=== Update

* `opt.GetEnv` now satisfies `opt.Required`:
+
When an environment variable that matches the variable from `opt.GetEnv` is set, `opt.GetEnv` will set `opt.Called` to true and will set `opt.CalledAs` to the name of the environment variable used.
In other words, when an option is required, `opt.Required` is set, `opt.GetEnv` satisfies that requirement.

* `opt.GetEnv` environment variable now shows in help output.
+
Example:
+
----
REQUIRED PARAMETERS:
--access-key-id <string> AWS Access Key ID. (env: AWS_ACCESS_KEY_ID)
--role-arn <string> Role ARN. (env: AWS_ROLE_ARN)
--secret-access-key <string> AWS Secret Access Key. (env: AWS_SECRET_ACCESS_KEY)
OPTIONS:
--region <string> Default Region. (default: "us-west-2", env: AWS_DEFAULT_REGION)
----

== v0.18.0: Feature release

As the releases before, this release has 100% test coverage.
Expand Down

0 comments on commit 0e343e3

Please sign in to comment.