48 releases (19 breaking)

0.20.2 Nov 30, 2024
0.19.0 Nov 27, 2024
0.17.0 Jun 19, 2024
0.16.0 Mar 27, 2024
0.2.1 Mar 26, 2022

#468 in Development tools

Download history 4686/week @ 2024-08-17 3381/week @ 2024-08-24 5171/week @ 2024-08-31 4351/week @ 2024-09-07 4210/week @ 2024-09-14 3789/week @ 2024-09-21 4118/week @ 2024-09-28 4982/week @ 2024-10-05 4384/week @ 2024-10-12 3461/week @ 2024-10-19 3879/week @ 2024-10-26 3209/week @ 2024-11-02 2680/week @ 2024-11-09 2639/week @ 2024-11-16 3625/week @ 2024-11-23 3095/week @ 2024-11-30

12,425 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–11MB
~112K SLoC