Skip to content

Expose Group.data via Data()#427

Open
jgold2-stripe wants to merge 1 commit intojessevdk:mainfrom
jgold2-stripe:jgold/group-data
Open

Expose Group.data via Data()#427
jgold2-stripe wants to merge 1 commit intojessevdk:mainfrom
jgold2-stripe:jgold/group-data

Conversation

@jgold2-stripe
Copy link
Copy Markdown

In our application, we want to walk the subcommand hierarchy and test the actual instance type of certain activated subcommands, in order to preconfigure the application in various ways based on the object type.

The part of the application processing the parsed command is separate from the part creating it, so we need this in order to access the values post-parse. Since the application already sets the value of Group.data implicitly when adding a subcommand, re-exporting it should not expose anything not already exposed.

@jgold2-stripe
Copy link
Copy Markdown
Author

@jessevdk -- Apologies if I overlooked some guide to how to contribute, but hopefully this PR makes it to you? It appears that I need approval to run the builds? LMK if there is anything I can do to help with next steps.

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