# let ( let* ) m k = Result.bind in
let* host = Oenv.(string ~secret:false "HOST" |> read) in
let* port = Oenv.(int "PORT" |> read) in
Result.ok ()
;;
utop.bc: [INFO] Found HOST: localhost
utop.bc: [INFO] Found PORT: <secret>
- : (unit, Oenv.Errors.t) result = Ok ()