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

Possibility to export env-s with different quota character #1103

Open
newadbie opened this issue Oct 20, 2023 · 3 comments
Open

Possibility to export env-s with different quota character #1103

newadbie opened this issue Oct 20, 2023 · 3 comments
Labels
🪓 cli good first issue Good for newcomers Medium priority Created by Linear-GitHub Sync

Comments

@newadbie
Copy link

newadbie commented Oct 20, 2023

Feature description

At this moment if we would use CLI command infisical export > .env all env-s will be exported in this pattern
ENV_NAME='VALUE' i think it is worth to have possibility to dynamicly change quota character it may makes some issues with ' character

Why would it be useful?

If the value is multiline string with \n single quota character will not parse it as multiline, to have parsed multiline value env have to be in double quotas, i got issue with it when i have passed PRIVATE KEY from google recaptcha, i had to use this function s.replace(/\\n/g, '\n') (in nodejs) to get multiline parsed valid env, otherwise google recaptcha throws me an error

Additional context

Everything is above :D

@akhilmhdh
Copy link
Member

@newadbie Yah there is a skipMultiEncoding to address these kinda issues but sadly its not yet available for cli. Good issue

@akhilmhdh akhilmhdh added good first issue Good for newcomers 🪓 cli Medium priority Created by Linear-GitHub Sync labels Oct 21, 2023
@sp6370
Copy link

sp6370 commented Oct 24, 2023

Hi @akhilmhdh!
I would like to pick this up.

Could you expand upon using skipMultiEncoding?

@lalitkumawat1m
Copy link

Hello Team I want to work on this issue please assign to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪓 cli good first issue Good for newcomers Medium priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants