glipt/runner
Types
pub type RunError {
FileError(simplifile.FileError)
BuildError(String)
RunError(String)
}
Constructors
-
FileError(simplifile.FileError) -
BuildError(String) -
RunError(String)
pub type RunOptions {
RunOptions(
script_path: String,
target: target.Target,
function: String,
args: List(String),
)
}
Constructors
-
RunOptions( script_path: String, target: target.Target, function: String, args: List(String), )
Values
pub fn run(opts: RunOptions) -> Result(String, RunError)