Current section

Files

Jump to
novdom_dev_tools src lustre_dev_tools cmd.gleam
Raw

src/lustre_dev_tools/cmd.gleam

// IMPORTS ---------------------------------------------------------------------
import gleam/dynamic.{type Dynamic}
// EXTERNALS -------------------------------------------------------------------
///
///
@external(erlang, "lustre_dev_tools_ffi", "exec")
pub fn exec(
run command: String,
with args: List(String),
in in: String,
) -> Result(String, #(Int, String))
///
///
@external(erlang, "lustre_dev_tools_ffi", "get_cwd")
pub fn cwd() -> Result(String, Dynamic)