Commit Graph

12 Commits

Author SHA1 Message Date
Robin Olsen
42c01bbf73 Update cmd/survey/runner.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 15:39:28 +01:00
Robin Olsen
8decd74952 make tasks use map instead of slice 2026-02-23 13:13:34 +01:00
Robin Olsen
235b07f7ce use registry for interfaces also
add list interfaces command
2026-02-22 22:58:04 +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
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
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
86c8bc3143 refactor for better reusability and maintainability 2026-02-17 15:17:49 +01:00
Robin Olsen
68af436a3f add so interfaces can see task feedback 2026-02-17 13:04:03 +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