Net handler CLI and dev handler CLI can now "attach" to their respective existing instances of runtime instead of spawning a new instance.
Net handler CLI can specify zero or more flags from (-d and -s)
Without arguments it spawns a new net handler instance and connects a fake Dawn and fake Shepherd.
This is unchanged and the same behavior as on master.
-d : Does not spawn a new net handler; Connects a fake Dawn
-s : Does not spawn a new net handler; Connects a fake Shepherd
Dev handler no longer takes in arguments.
Dev handler now detects BOTH Arduinos and virtual devices.
Dev handler CLI has an optional argument attach.
Without this argument, it spawns a new dev handler. This is unchanged and the same behavior as on master.
With this argument, it doesn't spawn a new dev handler. Disconnecting/connecting virtual devices will work normally with an existing instance of dev handler.
Attempting to use these CLIs in their respective "attach" modes without a preexisting instance of runtime is will have undefined behavior.
Net handler CLI and dev handler CLI can now "attach" to their respective existing instances of runtime instead of spawning a new instance.
-d
and-s
)master
.-d
: Does not spawn a new net handler; Connects a fake Dawn-s
: Does not spawn a new net handler; Connects a fake Shepherdattach
.master
.Attempting to use these CLIs in their respective "attach" modes without a preexisting instance of runtime is will have undefined behavior.
Closes #118