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

Download history 3491/week @ 2024-07-22 4309/week @ 2024-07-29 3746/week @ 2024-08-05 5063/week @ 2024-08-12 4468/week @ 2024-08-19 3664/week @ 2024-08-26 5000/week @ 2024-09-02 4546/week @ 2024-09-09 4034/week @ 2024-09-16 3798/week @ 2024-09-23 4053/week @ 2024-09-30 5281/week @ 2024-10-07 4036/week @ 2024-10-14 3502/week @ 2024-10-21 3852/week @ 2024-10-28 3424/week @ 2024-11-04

15,245 downloads per month
Used in 15 crates (12 directly)

MIT license

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