How can I test a trogon sub-command within a typer app?
I have a typer app with a command that calls trogon, which is lovely. Recently it broke because I updated my dependencies incorrectly. I would like to be able to verify it can run without exception. Trogon runs forever until it gets user input. Is there a way to pass "ctrl+q" to trogon when trogon is invoked from a typer commands?
Thanks.
Hey @anschweitzer thanks for the question. I think this ultimately ends up being more of a Textual question, because the thing you want to send the quit signal to is the Textual app that Trogon ultimately creates. I'm not sure I have an immediate answer for you; my understanding is that the Textual app will end up executing as a process distinct from your own application code, so I'm not sure there's a good way to do this without intercepting the spawned process.