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

Download history 3970/week @ 2024-09-15 4056/week @ 2024-09-22 3970/week @ 2024-09-29 5045/week @ 2024-10-06 4248/week @ 2024-10-13 3524/week @ 2024-10-20 3810/week @ 2024-10-27 3214/week @ 2024-11-03 2619/week @ 2024-11-10 2652/week @ 2024-11-17 3868/week @ 2024-11-24 2943/week @ 2024-12-01 2675/week @ 2024-12-08 2530/week @ 2024-12-15 1387/week @ 2024-12-22 1486/week @ 2024-12-29

8,350 downloads per month
Used in 17 crates (14 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.7–10MB
~106K SLoC