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 2 commits into from Jul 20, 2022


Copy link

@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 Jul 17, 2022
@pyqlsa pyqlsa marked this pull request as ready for review Jul 17, 2022
@alecthomas alecthomas merged commit a05a0c2 into alecthomas:master Jul 20, 2022
2 checks passed
Copy link


@pyqlsa pyqlsa deleted the pyq/active-cli branch Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants