mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 09:15:26 +01:00 
			
		
		
		
	Add tea issue edit (#506)
				
					
				
			fixes #229 fixes #502 interactive mode will be in a follow up Co-authored-by: Norwin <git@nroo.de> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://gitea.com/gitea/tea/pulls/506 Reviewed-by: 6543 <6543@obermui.de> 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:
		| @@ -21,7 +21,7 @@ var CmdIssuesCreate = cli.Command{ | ||||
| 	Description: `Create an issue on repository`, | ||||
| 	ArgsUsage:   " ", // command does not accept arguments | ||||
| 	Action:      runIssuesCreate, | ||||
| 	Flags:       flags.IssuePREditFlags, | ||||
| 	Flags:       flags.IssuePRCreateFlags, | ||||
| } | ||||
|  | ||||
| func runIssuesCreate(cmd *cli.Context) error { | ||||
| @@ -32,7 +32,7 @@ func runIssuesCreate(cmd *cli.Context) error { | ||||
| 		return interact.CreateIssue(ctx.Login, ctx.Owner, ctx.Repo) | ||||
| 	} | ||||
|  | ||||
| 	opts, err := flags.GetIssuePREditFlags(ctx) | ||||
| 	opts, err := flags.GetIssuePRCreateFlags(ctx) | ||||
| 	if err != nil { | ||||
| 		return err | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Norwin
					Norwin