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

feat(CLI): adding new export format (dotenv-export) #219

Merged

Conversation

imakecodes
Copy link

Why

I want to have a way to export the variables with the word export at the beggning of each variable.

This is helpful to permit use the variables in bash subprocesses

The diference between use or not the export is described on this post

How to use

infisical export --format=dotenv-export

export INFISICAL_DEV_INT=1
export INFISICAL_DEV_STRING=some-string

@maidul98 maidul98 self-requested a review January 14, 2023 03:49
Copy link
Collaborator

@maidul98 maidul98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, looks good!

@maidul98 maidul98 merged commit 9ca544f into Infisical:main Jan 14, 2023
@imakecodes imakecodes deleted the feature/adding-export-dotenv-export-format branch January 14, 2023 04:04
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.

3 participants