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

Environment variables support for commands #65

Open
saheljalal opened this issue Feb 25, 2023 · 0 comments
Open

Environment variables support for commands #65

saheljalal opened this issue Feb 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@saheljalal
Copy link
Collaborator

saheljalal commented Feb 25, 2023

For each Command it would be interesting to add support for a map of env vars that can be included as part of the configuration. Similar to how task does it, for additional functionality to improve command trees which can inherit them.

Additionally, sourcing .env files and variants as an option can be useful as well.

Often times workflows also requires sourcing scripts but what if the scripts are distributed in different repositories or locations. Since we have the ability to download from many data sources (thanks to go-getter) we can use the same mechanism to download and sync various files to source for a command tree. That means any shell commands added to a node become available to all commands in the tree and is automatically sourced on evaluation.

@saheljalal saheljalal added enhancement New feature or request help wanted Extra attention is needed labels Feb 25, 2023
@saheljalal saheljalal removed the help wanted Extra attention is needed label Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant