Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional to disable strip path and enable uppercasing the name #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IonutBajescu
Copy link

This commit adds two new cli flags:

  1. -strip-path Will remove the AWS_ENV_PATH from the environment
    variable, useful when you need to call aws-env multiple times and want
    to ensure that the environment variables exposed won't conflict with
    each other.
  2. -uppercase Changes the capitalisation of the variable's name to
    all-caps. It is common for ssm parameters to be in all-lowercase whereas
    we obviously want the environment variables to be in uppercase.

This commit adds two new cli flags:
1. -strip-path Will remove the AWS_ENV_PATH from the environment
variable, useful when you need to call aws-env multiple times and want
to ensure that the environment variables exposed won't conflict with
each other.
2. -uppercase Changes the capitalisation of the variable's name to
all-caps. It is common for ssm parameters to be in all-lowercase whereas
we obviously want the environment variables to be in uppercase.
@IonutBajescu
Copy link
Author

@orfin Any chance you could take a look at this PR? Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant