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:
		| @@ -6,8 +6,8 @@ package repos | ||||
| import ( | ||||
| 	stdctx "context" | ||||
|  | ||||
| 	"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" | ||||
| @@ -50,7 +50,7 @@ var CmdReposList = cli.Command{ | ||||
|  | ||||
| // RunReposList list repositories | ||||
| func RunReposList(_ stdctx.Context, cmd *cli.Command) error { | ||||
| 	teaCmd := context.InitCommand(cmd) | ||||
| 	teaCmd := base.InitCommand(cmd) | ||||
| 	client := teaCmd.Login.Client() | ||||
|  | ||||
| 	typeFilter, err := getTypeFilter(cmd) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lunny Xiao
					Lunny Xiao