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 Active member to Nodes and Values #319

Merged
merged 2 commits into from Jul 20, 2022

Conversation

pyqlsa
Copy link
Contributor

@pyqlsa pyqlsa commented Jul 17, 2022

Active struct member added to Nodes and Values to denote that the component in the grammar has been "activated" by CLI args. During tracing, Nodes and Values are "activated", primarily to provide extra context to mapper functions. ExistingFileMapper and ExistingDirMapper functions updated to validate paths only if their Values are a part of the "active" branch in the CLI context.

@pyqlsa pyqlsa marked this pull request as draft July 17, 2022 19:00
@pyqlsa pyqlsa marked this pull request as ready for review July 17, 2022 19:40
@alecthomas alecthomas merged commit a05a0c2 into alecthomas:master Jul 20, 2022
@alecthomas
Copy link
Owner

Thanks!

@pyqlsa pyqlsa deleted the pyq/active-cli branch July 20, 2022 16:43
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.

None yet

2 participants