mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	Enable bash-completin as per urfave/cli. (#43)
This commit is contained in:
		
							
								
								
									
										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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 archite
					archite