// 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;
forked from denoland/deno_task_shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Cross platform shell for deno task.
License
prefix-dev/deno_task_shell
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Cross platform shell for deno task.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Rust 100.0%