Source file current_ssh.ml

1
2
3
4
5
6
7
8
open Current.Syntax

module R = Current_cache.Output(Run)

let run ~schedule ~key host args =
  Current.component "ssh@,%s" host |>
  let> args = args in
  R.set ~schedule host key { Run.Value.args }