add list command to view available tasks

move init to a taks.go for centralization
This commit is contained in:
Robin Olsen
2026-02-18 13:19:16 +01:00
parent 23747fb799
commit f91d33e2f0
4 changed files with 28 additions and 12 deletions

View File

@@ -17,12 +17,6 @@ This task will test your ability to use the issue creation workflow effectively.
Assign this task to yourself and start creating the issue.
Make sure to fill out all the necessary details, including the title, description, and assignee.`
func init() {
task.Register("create_issue", func(svc *service.Services) task.Tasker {
return NewCreateIssueTask(svc)
})
}
type CreateIssueTask struct {
svc *service.Services
}