mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-04 00:28:30 +00:00 
			
		
		
		
	migrate cli to urfave v3 add more cli tests --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			419 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			419 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright 2023 The Gitea Authors. All rights reserved.
 | 
						|
// SPDX-License-Identifier: MIT
 | 
						|
 | 
						|
package cmd
 | 
						|
 | 
						|
import (
 | 
						|
	"github.com/urfave/cli/v3"
 | 
						|
)
 | 
						|
 | 
						|
var subcmdUser = &cli.Command{
 | 
						|
	Name:  "user",
 | 
						|
	Usage: "Modify users",
 | 
						|
	Commands: []*cli.Command{
 | 
						|
		microcmdUserCreate(),
 | 
						|
		microcmdUserList,
 | 
						|
		microcmdUserChangePassword(),
 | 
						|
		microcmdUserDelete(),
 | 
						|
		microcmdUserGenerateAccessToken,
 | 
						|
		microcmdUserMustChangePassword(),
 | 
						|
	},
 | 
						|
}
 |