Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@florisvdg
Copy link
Contributor

@florisvdg florisvdg commented Feb 15, 2023

Some CLIs only allow a config file path to be set using the directory it's in. This PR adds a variation to the existing provision.SetPathAsEnvVar("FOO_CONFIG_FILE_PATH") helper which lets you provision the output directory as an environment variable, which can be used like this: provision.SetOutputDirAsEnvVar("FOO_CONFIG_DIR").

Some CLIs only allow a config file path to be set using the directory it's in.
Copy link
Member

@SimonBarendse SimonBarendse left a comment

Choose a reason for hiding this comment

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

Thanks @florisvdg! This will come in handy for #181

Copy link
Contributor

@AndyTitu AndyTitu left a comment

Choose a reason for hiding this comment

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

LGTM

@AndyTitu AndyTitu merged commit f0b4724 into main Feb 15, 2023
@AndyTitu AndyTitu deleted the file-provisioner-outdir-helper branch February 15, 2023 12:55
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.

4 participants