The documentation says that ApplicationCommand and WindowCommand are instantiated once per sublime instance and window, respectively. Whats the best way to get hold of that instance from, say, a TextCommand?
My use case is that I have a kind of data server running as an ApplicationCommand, which my TextCommands need to talk to every so often. At the minute I’m doing all this through static variables in the ApplicationCommand class, which is obviously not ideal.