Btl
Btl is a simple library that makes shell scripting with rust easier. It was originally written with the purposes of being used for build.rs files, but it can be used for more complex purposes.
It's main premise is about integrating shell scripting with rust ergonomically. This works both on windows and unix machines.
Btl is extremely simple, composed of six macros which have the exact same syntax. These macros allows for embedding shell scripts to rust while allowing extreme customization ergonomically.
Macros:
- shell!{}
- detach!{}
- execute!{}
- exec!{}
- cd!{}
support for tokio is under the "tokio_shell" feature, and they have the same syntax and names, but they have the "async_" prefix.
NOTE: btl uses sh as the unix backend, and powershell as the windows backend.
If you happen to find any bug, please raise an issue at the github repo.
Example: