MCPcopy Create free account
hub / github.com/SpectoLabs/hoverfly / createCompletionFile

Function createCompletionFile

hoverctl/cmd/bash_completion.go:79–88  ·  view source on GitHub ↗
(completionFilePath string)

Source from the content-addressed store, hash-verified

77}
78
79func createCompletionFile(completionFilePath string) error {
80 if err := RootCmd.GenBashCompletionFile(completionFilePath); err != nil {
81 return err
82 }
83
84 if verbose {
85 fmt.Printf("Created completion file in %q\n", completionFilePath)
86 }
87 return nil
88}
89
90func locateProbableCompletionFileLocation() string {
91 var completionFileLocation string

Callers 1

bash_completion.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected