We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 722b7b2 commit d2482cfCopy full SHA for d2482cf
src/cli/cli.go
@@ -96,6 +96,19 @@ func Run() (err error) {
96
&cli.IntFlag{Name: "transfers", Value: 5, Usage: "number of ports to use for relay"},
97
},
98
99
+ {
100
+ Name: "generate-fish-completion",
101
+ Usage: "generate fish completion and output to stdout",
102
+ Hidden: true,
103
+ Action: func(ctx *cli.Context) error {
104
+ completion, err := ctx.App.ToFishCompletion()
105
+ if err != nil {
106
+ return err
107
+ }
108
+ fmt.Print(completion)
109
+ return nil
110
+ },
111
112
}
113
app.Flags = []cli.Flag{
114
&cli.BoolFlag{Name: "internal-dns", Usage: "use a built-in DNS stub resolver rather than the host operating system"},
0 commit comments