1// IMPORTS ---------------------------------------------------------------------
2
3import gleam/dynamic.{type Dynamic}
4
5// EXTERNALS -------------------------------------------------------------------
6
7///
8///
9@external(erlang, "lustre_dev_tools_ffi", "exec")
10pub fn exec(
11 run command: String,
12 with args: List(String),
13 in in: String,
14) -> Result(String, #(Int, String))
15
16///
17///
18@external(erlang, "lustre_dev_tools_ffi", "get_cwd")
19pub fn cwd() -> Result(String, Dynamic)