1
0
mirror of https://gitea.com/gitea/tea.git synced 2024-06-16 06:25:25 +00:00

Enable bash-completin as per urfave/cli. (#43)

This commit is contained in:
archite 2019-08-13 10:59:13 +00:00 committed by Gitea
parent 07a623ff83
commit 1d233402fd

View File

@ -40,6 +40,7 @@ func main() {
cmd.CmdPulls,
cmd.CmdReleases,
}
app.EnableBashCompletion = true
err := app.Run(os.Args)
if err != nil {
log.Fatal(4, "Failed to run app with %s: %v", os.Args, err)