Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix:(issue_2105) Ensure fish completion works - #2106

#2106
Merged
dearchap merged 2 commits into
urfave:mainurfave/cli:mainfrom
dearchap:issue_2105dearchap/cli:issue_2105Copy head branch name to clipboard
Apr 21, 2025
Merged

Fix:(issue_2105) Ensure fish completion works#2106
dearchap merged 2 commits into
urfave:mainurfave/cli:mainfrom
dearchap:issue_2105dearchap/cli:issue_2105Copy head branch name to clipboard

Conversation

@dearchap

Copy link
Copy Markdown
Contributor

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #2105

Special notes for your reviewer:

(fill-in or delete this section)

Testing

(fill-in or delete this section)

Release Notes

(REQUIRED)

Fix bug in Fish completion command

@dearchap
dearchap requested a review from a team as a code owner April 21, 2025 13:08
@dearchap

Copy link
Copy Markdown
Contributor Author

cc @yjp20 can you try this commit ?

@yjp20

yjp20 commented Apr 21, 2025

Copy link
Copy Markdown

This looks good, though I'm confused why you'd thread through appName if you can always do cmd.Root().Name? Regardless, happy to see this fixed.

@dearchap

Copy link
Copy Markdown
Contributor Author

@yjp20 The appName is needed for other shells !!!

@dearchap
dearchap merged commit 2ec3c16 into urfave:main Apr 21, 2025
@yjp20

yjp20 commented Apr 21, 2025

Copy link
Copy Markdown

@dearchap and why would cmd.Root().Name not always work? sorry, just a little confused by that.

@dearchap

Copy link
Copy Markdown
Contributor Author

@yjp20 Yes it would work. I can reopen your PR

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.

fish completion does not work

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.