mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 09:15:26 +01:00 
			
		
		
		
	When there is no login detected, list all possible logins to select
This commit is contained in:
		| @@ -8,8 +8,8 @@ import ( | ||||
| 	"fmt" | ||||
| 	"strings" | ||||
|  | ||||
| 	"code.gitea.io/tea/cmd/base" | ||||
| 	"code.gitea.io/tea/cmd/flags" | ||||
| 	"code.gitea.io/tea/modules/context" | ||||
| 	"code.gitea.io/tea/modules/print" | ||||
|  | ||||
| 	"code.gitea.io/sdk/gitea" | ||||
| @@ -57,7 +57,7 @@ var CmdReposSearch = cli.Command{ | ||||
| } | ||||
|  | ||||
| func runReposSearch(_ stdctx.Context, cmd *cli.Command) error { | ||||
| 	teaCmd := context.InitCommand(cmd) | ||||
| 	teaCmd := base.InitCommand(cmd) | ||||
| 	client := teaCmd.Login.Client() | ||||
|  | ||||
| 	var ownerID int64 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao