aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gen_bash_completion.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-06 03:22:36 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-06 03:26:42 +0200
commit26e7ce44db91f3b08fa5d1b32690348d40c1fb00 (patch)
treed42e357dfd83453d284f861dccdadfde54eef54e /doc/gen_bash_completion.go
parentb2f20c9a61715b0a60f9e55688dbed221d775c7e (diff)
downloadgit-bug-26e7ce44db91f3b08fa5d1b32690348d40c1fb00.tar.gz
upgrade the readme
Diffstat (limited to 'doc/gen_bash_completion.go')
-rw-r--r--doc/gen_bash_completion.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/doc/gen_bash_completion.go b/doc/gen_bash_completion.go
deleted file mode 100644
index 26473d2d..00000000
--- a/doc/gen_bash_completion.go
+++ /dev/null
@@ -1,23 +0,0 @@
-// +build ignore
-
-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)
- }
-}