blob: df662a6c45cb40a9eab40e1af9a9e41545105dd1 (
plain) (
tree)
|
|
package main
import (
"fmt"
"github.com/MichaelMure/git-bug/commands"
"log"
"os"
"path"
)
func main() {
cwd, _ := os.Getwd()
filepath := path.Join(cwd, "doc", "bash_completion", "git-bug")
fmt.Println("Generating bash completion file ...")
err := commands.RootCmd.GenBashCompletionFile(filepath)
if err != nil {
log.Fatal(err)
}
}
|