My "task" is to manage many raspberry pies via ssh and that’s getting quiet messy when I open for each an terminal tab, so I am creating an app (Xcode 12, SwiftUI, macOS) to mange them all. I can access them already via ssh from my app, but I can’t figure out how to display the response. Is there a way to "include terminal" to an App (not an CMD Line App), or a way to read the cmd lines and display them in an text field?
I'm trying to figure out how to create an terminal like view in an SwiftUI View for MacOS in an MacOS App. I tried "TextEditor" and then passing the arguments, but I found no way to display the "terminal output".
I will try SwiftTerm later this day. But I’m still happy about good ideas (and yes I know that there are already apps out there that could do that job. But they are not useful for my special use case (too much customisation must be done - and I still have to program an app for the rest features I need)).