49 releases (19 breaking)
new 0.20.3 | Jan 5, 2025 |
---|---|
0.20.2 | Nov 30, 2024 |
0.19.0 | Nov 27, 2024 |
0.17.0 | Jun 19, 2024 |
0.2.1 | Mar 26, 2022 |
#454 in Development tools
8,350 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–10MB
~106K SLoC