karlot / sshclick

SSH Config terminal manager based on Python and Click framework with Rich and Textual UI
MIT License
51 stars 1 forks source link

Treat a missing file like an empty file #5

Closed vincecima closed 4 days ago

vincecima commented 4 days ago

Potential fix/workaround for https://github.com/karlot/sshclick/issues/3

Not sure this is the best way to address it (silently proceeding) but it does fix the immediate error.

karlot commented 4 days ago

Thanks for PR, but I had a lot of local/unclean changes that were not synced to the repo. I've synced now main branch now to the current whatever "alpha" build... it should have some prep stuff that I started to work on specifically for TUI...

I've also already included similar fix as you had in PR... with some more steps. Should work for both "ssht" and "sshc" commands

Since this version is not really ready yet, I'm not pushing it to PyPI currently. But if you want to test it, you can resync the repo and test changes locally with reinstalling from source folder