Commit Graph

56 Commits

Author SHA1 Message Date
Robin Olsen
2c2fbac3a3 taks use end task util 2026-02-23 12:28:10 +01:00
Robin Olsen
a3a9b8293c use new utility 2026-02-23 12:26:48 +01:00
Robin Olsen
67e16265ab add utility to end tass with timeout 2026-02-23 12:26:23 +01:00
Robin Olsen
235b07f7ce use registry for interfaces also
add list interfaces command
2026-02-22 22:58:04 +01:00
Robin Olsen
78769396e7 forgot to commit this 2026-02-22 19:47:17 +01:00
Robin Olsen
33c8c05ae3 refactor to decouple commands form entrypoint for reusability and centralizing commands.
Increase reusability and composition
2026-02-22 19:46:55 +01:00
Robin Olsen
118e67dbf4 refactor services to use Interface and change name to app 2026-02-22 16:16:09 +01:00
Robin Olsen
e909de3d5b reduce redundancy 2026-02-19 17:34:42 +01:00
Robin Olsen
ed9662ff07 fix signature and make better chaining 2026-02-19 17:32:39 +01:00
Robin Olsen
0f41f76679 add builders and chaining methods for various types and variables for better reusability and readability 2026-02-19 17:26:16 +01:00
Robin Olsen
cf0c9a1880 expand coding task example 2026-02-19 10:43:58 +01:00
Robin Olsen
4d6b70fb6a add some helpers to simplify task creation 2026-02-18 19:32:17 +01:00
Robin Olsen
612f0c86c7 refactor for simplicity 2026-02-18 15:32:08 +01:00
Robin Olsen
2583ca13c3 sentralize userquiterror 2026-02-18 14:32:08 +01:00
Robin Olsen
5c74cd15ba move InterfacetoType to types and deleted types as it was now empty 2026-02-18 14:28:58 +01:00
Robin Olsen
e8fffba752 use only port 2026-02-18 14:26:55 +01:00
Robin Olsen
ea7c4fa01f fix copilot suggestion 2026-02-18 14:25:48 +01:00
Robin Olsen
7ee2a3a0c6 Merge remote-tracking branch 'origin/main' into LPM-58 2026-02-18 14:19:08 +01:00
Robin Olsen
ffa32ebd3a add dockerfile
add make commands for building and running using docker

remove localhost on server address so it's not locked
2026-02-18 14:12:37 +01:00
Robin Olsen
969b08bab4 Update cmd/survey/tasks/createIssue.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 13:43:17 +01:00
Robin Olsen
f58da43f0e Update cmd/survey/intro.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 13:35:59 +01:00
Robin Olsen
f91d33e2f0 add list command to view available tasks
move init to a taks.go for centralization
2026-02-18 13:19:16 +01:00
Robin Olsen
23747fb799 refactor to use Tasker interface instead of Task
add tasker register for registering tasks for extiensibility
2026-02-18 13:07:23 +01:00
Robin Olsen
0ffe4f11b3 add command to specify task
add runTask to run spesific task with spesific interface
2026-02-17 20:03:43 +01:00
Robin Olsen
5044b31cff style intro better
add info and disclaimer
2026-02-17 17:29:00 +01:00
Robin Olsen
294f2524f5 add submit command(empty)
change to use flag to specify interface type
2026-02-17 16:39:59 +01:00
Robin Olsen
86c8bc3143 refactor for better reusability and maintainability 2026-02-17 15:17:49 +01:00
Robin Olsen
f0b45524bb refine task 2026-02-17 13:35:35 +01:00
Robin Olsen
d231f07659 check if arg 2026-02-17 13:35:27 +01:00
Robin Olsen
68af436a3f add so interfaces can see task feedback 2026-02-17 13:04:03 +01:00
Robin Olsen
235275d911 add so u can choose interface 2026-02-17 13:02:24 +01:00
Robin Olsen
e828bede97 add so u can run spesific interface 2026-02-17 13:00:29 +01:00
Robin Olsen
876b2ee1a6 expand create task 2026-02-17 11:30:56 +01:00
Robin Olsen
279adb157e refactor for better maintainability and readabilty 2026-02-17 11:11:54 +01:00
Robin Olsen
a38e32aa78 use cobra for cli
delete pkg/runner and put funcs in task
add start command
2026-02-17 10:24:15 +01:00
Robin Olsen
b3b45e67be add exit mechanicm to each stage
remove types and moved struct to appropriate files
2026-02-16 13:08:45 +01:00
Robin Olsen
1fe92d1972 add basic survey intro 2026-02-16 12:17:16 +01:00
Robin Olsen
c3181e0f77 Update cmd/survey/init.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-13 10:23:57 +01:00
Robin Olsen
e994c890f4 refactor survery cmd
move package files to pkg
2026-02-13 10:13:41 +01:00
Robin Olsen
fdfe4aa620 Update cmd/survey/survey.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-12 23:59:12 +01:00
Robin Olsen
d12146462f Update cmd/survey/survey.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-12 23:58:36 +01:00
Robin Olsen
6fc888347a Update cmd/survey/tasks/createIssue.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-12 23:58:24 +01:00
Robin Olsen
d670ec0dc2 check if nil 2026-02-12 22:07:43 +01:00
Robin Olsen
93c523d490 add config and reformat 2026-02-12 22:07:29 +01:00
Robin Olsen
0e9bbbc3bd reformat 2026-02-12 22:07:15 +01:00
Robin Olsen
cbfbb6a0bb add init file for better separation 2026-02-12 22:07:03 +01:00
Robin Olsen
412b2fe0c2 add config to tasks
use fmt.Errorf
2026-02-12 22:06:48 +01:00
Robin Olsen
7dc6420854 move around types for better understanding 2026-02-12 22:06:10 +01:00
Robin Olsen
18eb113f71 add questionare 2026-02-12 22:05:44 +01:00
Robin Olsen
fe5494eaee format time and difficulty better
use m
2026-02-12 22:05:25 +01:00