mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 09:15:26 +01:00 
			
		
		
		
	Add missing flags (#369)
fixes #368 Co-authored-by: Norwin Roosen <git@nroo.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/369 Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Norwin <noerw@noreply.gitea.io> Co-committed-by: Norwin <noerw@noreply.gitea.io>
This commit is contained in:
		| @@ -7,6 +7,7 @@ package organizations | ||||
| import ( | ||||
| 	"fmt" | ||||
|  | ||||
| 	"code.gitea.io/tea/cmd/flags" | ||||
| 	"code.gitea.io/tea/modules/context" | ||||
| 	"github.com/urfave/cli/v2" | ||||
| ) | ||||
| @@ -19,6 +20,10 @@ var CmdOrganizationDelete = cli.Command{ | ||||
| 	Description: "Delete users organizations", | ||||
| 	ArgsUsage:   "<organization name>", | ||||
| 	Action:      RunOrganizationDelete, | ||||
| 	Flags: []cli.Flag{ | ||||
| 		&flags.LoginFlag, | ||||
| 		&flags.RemoteFlag, | ||||
| 	}, | ||||
| } | ||||
|  | ||||
| // RunOrganizationDelete delete user organization | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Norwin
					Norwin