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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user