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

Fix:(issue_1094) Dont execute Before/After during shell completions #1459

Merged
merged 1 commit into from
Aug 29, 2022

Conversation

dearchap
Copy link
Contributor

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Before/After handlers shouldnt be invoked during shell completion

Which issue(s) this PR fixes:

(REQUIRED)

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

go test -run=TestApp_BeforeAfterFuncShellCompletion

Release Notes

(REQUIRED)


@dearchap dearchap requested a review from a team as a code owner August 19, 2022 22:43
@VirrageS
Copy link

@dearchap LGTM. Tested and works :)

@talarian1
Copy link

@dearchap, @Dokiys We will be happy to see this improvement as well :)

@dearchap dearchap merged commit c24c9f3 into urfave:v1 Aug 29, 2022
@dearchap dearchap deleted the issue_1094_v1 branch August 29, 2022 11:24
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.

4 participants