feat: add GetManPage function and integrate parent process name in ProcessDetail

This commit is contained in:
Jonathan Atta
2026-03-11 17:26:51 +01:00
parent 9ba9b80b8b
commit c2aecae867
6 changed files with 227 additions and 35 deletions

5
app.go
View File

@@ -56,3 +56,8 @@ func (a *App) GetProcessDetail(pid int32) (*backend.ProcessDetail, error) {
func (a *App) KillProcess(pid int32, force bool) error {
return backend.KillProcess(pid, force)
}
// GetManPage returns the plain-text manual page for the given command.
func (a *App) GetManPage(name string) string {
return backend.GetManPage(name)
}