Enhance command structure and user feedback in task management

- Added SprintCmd to issues command group
- taskLoop hide survey related commands when in repl
- Updated coding task instructions for clarity
- Removed redundant SprintCmd registration
- Improved REPL command handling for better user experience avoiding a chash if users type pm
- Enhanced task UI to display additional information
This commit is contained in:
Robin Olsen
2026-04-03 11:19:57 +02:00
parent b3a52759ee
commit 1cfd23f1b0
6 changed files with 25 additions and 10 deletions

View File

@@ -25,12 +25,11 @@ func (r *REPL) execute(input string) (string, error) {
return executePMCommand("status")
}
if input == "pm" {
return executePMCommand("help")
}
if after, ok := strings.CutPrefix(input, "pm"); ok {
if strings.Contains(strings.Split(after, " ")[1], "start") {
return "Nice try👻", nil
}
return executePMCommand(after)
}
return executeShellCommand(input)