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 export formats to secrets env command #342

Open
tegefaulkes opened this issue Dec 9, 2024 · 2 comments · May be fixed by #348
Open

Add export formats to secrets env command #342

tegefaulkes opened this issue Dec 9, 2024 · 2 comments · May be fixed by #348
Assignees
Labels
development Standard development

Comments

@tegefaulkes
Copy link
Contributor

Specification

Currently the secrets env command contains different formats that get generated when it's not running a command. We need to add variants to these formats that include export within the file.

For example the unix format is structured as

ENV_ONE="one";
ENV_TWO="two";

But the new variant will include the export keyword

export ENV_ONE="one";
export ENV_TWO="two";

This should apply to all the existing formats where applicable. So if the cmd and powershell if they have a equavalent way of exporting env variables within a script then we should have a format version for them as well.

Additional context

Tasks

  1. Add an export variant format for the unix format
  2. Add an export variant for all other formats that can support it.
@tegefaulkes tegefaulkes added the development Standard development label Dec 9, 2024
Copy link

linear bot commented Dec 9, 2024

@CMCDragonkai
Copy link
Member

Should be an option.

@aryanjassal aryanjassal self-assigned this Dec 17, 2024
@Sooryasanand Sooryasanand linked a pull request Dec 18, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development
Development

Successfully merging a pull request may close this issue.

3 participants