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

Parent Handling improved #871

Closed
wants to merge 2 commits into from
Closed

Parent Handling improved #871

wants to merge 2 commits into from

Conversation

Wulfheart
Copy link

@Wulfheart Wulfheart commented Jun 1, 2019

Fixes #266, #273 (should be sufficient), #604.

In short it checks if there is another parentCmd thant rootCmd and constructs from this information a unique cmd Variable. For example if there is a command like <appName> compile clean the var is compileCleanCmd.

It is needed to edit the tests.

@Wulfheart Wulfheart requested a review from n10v January 23, 2020 21:06
@n10v
Copy link
Collaborator

n10v commented Jan 24, 2020

I'm sorry, I can't review it, because I'm out of context.

@n10v
Copy link
Collaborator

n10v commented Jan 24, 2020

@jharshman can you please take a look at it?

@github-actions
Copy link

github-actions bot commented Apr 5, 2020

This PR is being marked as stale due to a long period of inactivity

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.

Ability to add nested commands through cobra add
2 participants