49 releases (19 breaking)

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

#360 in Development tools

Download history 4870/week @ 2024-10-09 3982/week @ 2024-10-16 3376/week @ 2024-10-23 3822/week @ 2024-10-30 2927/week @ 2024-11-06 2540/week @ 2024-11-13 2851/week @ 2024-11-20 4071/week @ 2024-11-27 2420/week @ 2024-12-04 2827/week @ 2024-12-11 2060/week @ 2024-12-18 1394/week @ 2024-12-25 1985/week @ 2025-01-01 2934/week @ 2025-01-08 3088/week @ 2025-01-15 2500/week @ 2025-01-22

10,736 downloads per month
Used in 15 crates (13 directly)

MIT license

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.6–11MB
~104K SLoC