44 releases (17 breaking)
0.18.1 | Oct 3, 2024 |
---|---|
0.17.0 | Jun 19, 2024 |
0.16.0 | Mar 27, 2024 |
0.14.2 | Nov 23, 2023 |
0.2.1 | Mar 26, 2022 |
#446 in Development tools
15,245 downloads per month
Used in 15 crates
(12 directly)
220KB
7.5K
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.6–9.5MB
~82K SLoC