diff options
Diffstat (limited to 'misc/gen_bash_completion.go')
-rw-r--r-- | misc/gen_bash_completion.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/misc/gen_bash_completion.go b/misc/gen_bash_completion.go deleted file mode 100644 index 2d5e400b..00000000 --- a/misc/gen_bash_completion.go +++ /dev/null @@ -1,24 +0,0 @@ -// +build ignore - -package main - -import ( - "fmt" - "log" - "os" - "path" - - "github.com/MichaelMure/git-bug/commands" -) - -func main() { - cwd, _ := os.Getwd() - dir := path.Join(cwd, "misc", "bash_completion", "git-bug") - - fmt.Println("Generating Bash completion file ...") - - err := commands.RootCmd.GenBashCompletionFile(dir) - if err != nil { - log.Fatal(err) - } -} |