blob: 41e08f9aa4fe521dd9778be2db590ab09beb7190 (
plain) (
tree)
|
|
// +build ignore
package main
import (
"fmt"
"github.com/MichaelMure/git-bug/commands"
"log"
"os"
"path"
)
func main() {
cwd, _ := os.Getwd()
filepath := path.Join(cwd, "misc", "zsh_completion", "git-bug")
fmt.Println("Generating zsh completion file ...")
err := commands.RootCmd.GenZshCompletionFile(filepath)
if err != nil {
log.Fatal(err)
}
}
|