I have a program that runs in the background without any intervention.
However, I'd like to provide some control over running instances. Usage might look something like this:
$ foo start
# an instance starts running in the background
$ foo refresh bar,baz
# the running instance does something with bar and baz
What's the typical way of implementing something like this? Is there a way to share channels between instances somehow? How do I locate the existing instance in the first place?