Closed TimMoore closed 6 years ago
We should also support the additional command deploy
, backup
, restore
, and also update the additional switches now exposed through load
command.
The tricky thing about -f
is that pressing CTRL-C
exits SBT. You can set Keys.cancelable in Global := true
for your project, or we could do it in the plugin itself, but perhaps a user of the plugin doesn't want that setting. There isn't a way to set it per-task, it's a global SBT setting.
Another idea would be to poll for input in conduct logs
and exit if the user presses q
, and ensure connectInput
is set for the conduct
task.
Thoughts?
The
conduct logs
CLI supports a handy--follow
(or-f
) option.https://github.com/typesafehub/conductr-cli/blob/master/conductr_cli/conduct_main.py#L189-L196
Running
conduct logs
from sbt does not support this option:https://github.com/typesafehub/sbt-conductr/blob/b3b000d5d31c8163bd75cd5e7819c2aa1aa78ba8/src/main/scala/com/lightbend/conductr/sbt/ConductRPlugin.scala#L684-L685