mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-22 10:31:37 +01:00
Enable bash-completin as per urfave/cli. (#43)
This commit is contained in:
parent
07a623ff83
commit
1d233402fd
1
main.go
1
main.go
@ -40,6 +40,7 @@ func main() {
|
|||||||
cmd.CmdPulls,
|
cmd.CmdPulls,
|
||||||
cmd.CmdReleases,
|
cmd.CmdReleases,
|
||||||
}
|
}
|
||||||
|
app.EnableBashCompletion = true
|
||||||
err := app.Run(os.Args)
|
err := app.Run(os.Args)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(4, "Failed to run app with %s: %v", os.Args, err)
|
log.Fatal(4, "Failed to run app with %s: %v", os.Args, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user