48 releases (19 breaking)
0.20.2 | Nov 30, 2024 |
---|---|
0.19.0 | Nov 27, 2024 |
0.17.0 | Jun 19, 2024 |
0.16.0 | Mar 27, 2024 |
0.2.1 | Mar 26, 2022 |
#468 in Development tools
12,425 downloads per month
Used in 17 crates
(14 directly)
240KB
8K
SLoC
deno_task_shell
// parse
let list = deno_task_shell::parser::parse(&text)?;
// execute
let env_vars = HashMap::from(&[
("SOME_VAR".to_string(), "value".to_string()),
]);
let cwd = std::env::current_dir()?;
let exit_code = deno_task_shell::execute(
list,
env_vars,
&cwd,
Default::default(), // custom commands
).await;
Dependencies
~0.7–11MB
~112K SLoC