refine pm cli and descriptions

This commit is contained in:
Robin Olsen
2026-03-16 13:06:16 +01:00
parent 43ca776536
commit 9a70851a0a
5 changed files with 24 additions and 15 deletions

View File

@@ -26,6 +26,11 @@ func execute(input string) (string, error) {
}
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)