Skip to content

How to generate Fish completions in a program that uses urfave/cli? #1806

Closed Answered by dearchap
erazemk asked this question in Q&A
Discussion options

You must be logged in to vote

@erazemk You can try using App.ToFishCompletion() https://github.com/urfave/cli/blob/v2-maint/fish.go#L13 and writing that to the fish complete file. Let me know if that doesnt work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erazemk
Comment options

Answer selected by erazemk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants