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

cli --enable 'env' #46

Closed
wants to merge 11 commits into from
Closed

Conversation

nmccready
Copy link
Collaborator

Allow included documents to be pre-processed and inject env vars without needing !GetEnv

@monken
Copy link
Owner

monken commented Dec 19, 2020

Great idea! I'd prefer this to be more generic. Could we instead have a --enable env parameter? That way we could also enable all features individually such as --enable include,env,map etc. What do you think?

@nmccready
Copy link
Collaborator Author

Yeah sounds good to me .

I think we really need a follow up PR to covert all the recurse and common functions to just pass one argument of an options object . Cause the amount of arguments is getting rediculous and hard to track.

Also I think the use of bind has to go as it makes finding errors very difficult in my own experience .

@nmccready nmccready changed the title cli --doEnv cli --enable 'env' Dec 21, 2020
@nmccready
Copy link
Collaborator Author

Don't merge yet, found a few bugs

@nmccready
Copy link
Collaborator Author

Ok should be g2g now

@nmccready
Copy link
Collaborator Author

anything else missing?

@nmccready nmccready closed this Aug 24, 2024
@nmccready nmccready deleted the feature/preprocessEnv branch November 6, 2024 01:47
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.

2 participants